Setup - 071921-LTI/TRiPLNR-front GitHub Wiki
Package Install
Clone into the repository and navigate into the TRiPLNR-front/triplnr directory and run command "npm install" to get acquired packages. Then run "ng serve --open" to verify that the application can run. If the compilation does not succeed a common fix is to open the app.module.ts file and save it to recompile the app.
Angular Environment
The angular environment is set to the local server for development and the production server for a production build.
.env file
You must create a .env file with the following content in the TRiPLNR-front/triplnr directory:
AUTH_DOMAIN=
AUTH_CLIENT_ID=
MAPS_KEY=
Keys
- AUTH_DOMAIN and AUTH_CLIENT_ID are related to Auth0 funcitonality
- MAPS_KEY is the google maps api key
Running the app
Make sure that the local spring server is running before you run the app. Run "ng serve --open" to compile and open a new page with the angular app.