@@ -7,6 +7,7 @@ Change directory to this project
7
7
Run ` npm install ` to install all the dependencies.
8
8
Run ` npm start ` to run this project. This will run with the AoT Compiler.
9
9
Navigate to ` http://localhost:4200/ ` . The app will automatically reload if you change any of the source files.
10
+ Run ` npm reset ` if you want to install everything again.
10
11
11
12
## Development
12
13
@@ -15,13 +16,13 @@ For own projects please use different keys in `src/app/app.component.ts`:
15
16
``` typescript
16
17
17
18
firebase .initializeApp ({
18
- // For other projects use different keys
19
- apiKey: ' [ YOUR_KEY] ' ,
20
- authDomain: ' [YOUR_KEY] ' ,
21
- databaseURL: ' [YOUR_KEY] ' ,
22
- projectId: ' [YOUR_KEY] ' ,
23
- storageBucket: ' [ YOUR_KEY] ' ,
24
- messagingSenderId: ' [YOUR_KEY] '
19
+ // For your own projects use different keys
20
+ apiKey: ' YOUR_KEY' ,
21
+ authDomain: ' YOUR_DOMAIN ' ,
22
+ databaseURL: ' YOUR_URL ' ,
23
+ projectId: ' YOUR_ID ' ,
24
+ storageBucket: ' YOUR_KEY' ,
25
+ messagingSenderId: ' YOUR_ID '
25
26
});
26
27
27
28
```
@@ -34,4 +35,4 @@ To build the development environment, run `npm run dist`.
34
35
35
36
To build the production environment, run ` npm run prod ` . This will run with the AoT Compiler.
36
37
To build the production environment without hashing in the files, run ` npm run prod:hashless ` . This will give packages without a hash.
37
- To build the production environment with reduced file size, run ` npm run prod:opt ` (Takes extra time to build with build optimizer).
38
+ Also available: run ` npm run prod:src ` .
0 commit comments