Skip to content

Latest commit

 

History

History
105 lines (75 loc) · 3.08 KB

DEVELOPMENT.md

File metadata and controls

105 lines (75 loc) · 3.08 KB

Developing Buzz About

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

Running Buzz About

Firebase Emulators

To run the Firebase emulators:

npm run firebase:emulator

You should be able to access the Firebase Emulator Suite console at http://localhost:4000/

Development server

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.

Testing

Running unit tests

To run the unit tests:

ng test

Running Cypress

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

Running Firebase tests

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

Additional Angular CLI commands

Linting

To run the Angular linting tools:

ng lint

Code scaffolding

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.

Further help

To get more help on the Angular CLI use ng help.

Useful links

Deployment locations