You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A file name keys.ts will be generated under src/environments/. You need to pass there the Firebase keys. For the development project, you can locate them here
Note that you must not commit the generated file (it's ignored by default in the .gitignore file)
Run the project in dev mode with JIT compilation
Run npm start
Project will run by default in port 4200
Generate dist bundles
Run npm run build
Deploy project
Run npm run firebase:deploy
Build and deploy project
Run npm run firebase:build-deploy
Production Environment
Generate keys.prod.ts file
Run npm run keys:create-prod
A file name keys.prod.ts will be generated under src/environments/. You need to pass there the Firebase keys. For the production project, you can locate them here
Note that you must not commit the generated file (it's ignored by default in the .gitignore file)
Generate dist bundles
Run npm run build:prod
Run the project in prod mode with AOT compilation after build