You can find project full documentation here
- Node version: 8.12.0
- NPM version: 6.4.1
- Angular CLI: 7.0.3
- Firebase tools CLI: 6.0.0
- Typescript version: 3.2.2
After cloning project and ensuring all prerequisites are met navigate to the root directory of the project and run npm install
cd projects/where_to_go
npm installNote: If you run into any errors at this point you may need to run npm with sudo
sudo npm installUI
At root level of project Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.
ng buildOR
ng build --prodGCP Cloud Functions
Navigate to the functions directory and run npm run build to build the cloud functions. The build artifacts will be stored in the functions/lib directory.
cd ./functions
npm run buildMake sure you have typescript installed in your functions folder if you do not, navigate to your functions folder and run...
npm installUI
At root level of project Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.
ng serveGCP Cloud Functions
Navigate to the functions directory and run npm run build to build the cloud functions. The build artifacts will be stored in the functions/lib directory.
cd ./functions
npm run build
firebase serve --only functionsNote: If you run into any errors at this point you may need to run with sudo
sudo firebase serve --only functionsRun ng test to execute the unit tests via Karma.
Run ng e2e to execute the end-to-end tests via Protractor.
To get more help on the Angular CLI use ng help or go check out the Angular CLI README.