This is a guide to developing Buzz About. If you are new to the project, take a look at the setup guide for information on setting up the development environment.
Table of Contents
To run the Firebase emulators:
npm run firebase:emulator
You should be able to access the Firebase Emulator Suite console at http://localhost:4000/
To run the development server:
ng serve
Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.
To run the unit tests:
ng test
To build the app and run the Cypress end-to-end tests, start the Firebase emulators and run:
npm run e2e
To open Cypress (so you can run the tests interactively), start both the development server and the Firebase emulators and run:
npm run cy:open
With the Firebase emulators already running, run:
npm run firestore-specs
To start the Firebase emulators and run through the Firebase tests:
npm run test-firestore
To run the Angular linting tools:
ng lint
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
To get more help on the Angular CLI use ng help
.
- Primary deployment on Firebase: buzzabout.app
- Deploys the latest commit from
master
using this GitHub Actions workflow. - Alternate URLs: buzz-about.web.app and buzz-about.firebaseapp.com
- Deploys the latest commit from
- Vercel
master
deployment: buzz-about.now.sh- Vercel also deploys every commit from every branch automatically.
- Alternate URLs: buzz-about.mn-pollinators.vercel.app and buzz-about.mn-pollinators.now.sh