Skip to content

Commit c739a21

Browse files
committed
doc updates
1 parent aee35ce commit c739a21

File tree

5 files changed

+29
-3
lines changed

5 files changed

+29
-3
lines changed

.firebaserc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"projects": {
3+
"default": "firestarter-96e46"
4+
}
5+
}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
/src/environments/environment.prod.ts
44
/src/environments/environment.ts
55
NOTES.md
6+
functions/*
67

78
# compiled output
89
/dist

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ Demo
1515

1616
Create an account at https://firebase.google.com/
1717

18-
- `git clone`
18+
- `git clone https://github.com/codediodeio/angular-firestarter.git firestarter`
1919
- `cd firestarter`
2020
- `npm install`
2121

2222
Create two new files in the `/environments` dir.
2323

24-
environment.ts
24+
#### environment.ts
2525
```typescript
2626
export const environment = {
2727
production: false,
@@ -33,7 +33,7 @@ export const environment = {
3333
}
3434
};
3535
```
36-
environment.prod.ts
36+
#### environment.prod.ts
3737
```typescript
3838
export const environment = {
3939
production: true,

database.rules.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"rules": {
3+
".read": "auth != null",
4+
".write": "auth != null"
5+
}
6+
}

firebase.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"database": {
3+
"rules": "database.rules.json"
4+
},
5+
"hosting": {
6+
"public": "dist",
7+
"rewrites": [
8+
{
9+
"source": "**",
10+
"destination": "/index.html"
11+
}
12+
]
13+
}
14+
}

0 commit comments

Comments
 (0)