0.0.1 • Published 6 months ago
equipp-spa v0.0.1
equipp-spa
This is the frontend for EQUIPP
Getting Started
Dependencies
Windows
- Node 16.15.0
- npm 7.6.0
Linux
- docker
- make
Linux Docker Environment Variables
These get injected when the container starts up. Node first compiles the app with src/environments/environment.docker.ts
. Those values then get replaced with your environment variables with bin/entrypoint.sh
. bin/entrypoint.sh
also controls the default values if you do not define the environment variables.
Variable | Default Value |
---|---|
EQUIPP_API_URL | https://localhost:5000 |
EQUIPP_AUTH_REDIRECT_URL | http://localhost |
Build and Test
Windows
Build
npm run build
Run
npm start
then navigate to https://localhost:4200
Test
npm test
Linux
Build and run with Docker
make run
runs the environment on port 80 and 443. Port 80 redirects to 443.
Run local development environment with Docker
make serve
then navigate to https://localhost:4200
Run tests with Docker
make test
0.0.1
6 months ago