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
Mark Fullmer edited this page Jun 15, 2020
·
1 revision
Pre-requisites
Install & run
Once all the prerequisites have been met, the following commands will scaffold the codebase:
Clone this repository
nvm use 10
npm install
ng serve
Connecting to the backend
The src/environments/environment.ts file provides a model for the domain, consumer key and secret that need to be supplied to connect to the backend API.
Different environments can be defined here, such as environment.development.ts (which can then be built via ng build --environment=development) or environment.prod.ts (which can be built via the shorthand ng build --prod).
Troubleshooting
Can't run ng build --prod
You probably don't have a src/environments/environment.prod.ts file. See "Connecting to the backend," above.