- Node v12 or later
Current directory must be the leanda-ui repository
npm install -g @angular/cli
npm i
npm run start-local
# or
npm run start-dev
And open http://localhost:5555 via browser
- environment options:
/src/environment/environment.ts - Angular CLI options:
/angular-cli.json
Build (replace deploy with test, uat, dev etc)
docker build --build-arg APP_ENV=deploy -t leanda/ui:latest .
Run
docker run -d -p 5555:80 leanda/ui:latest
Use Leanda docker-compose
docker-compose -f docker-compose.leanda.services.local.yml up
Replace API URLS in src/environments/environment.deploy-fvc.ts
npm run build-deploy-fvc
Currently there are 3 types of distributions:
- Leanda (default, code
leanda) - FVC, code
fvc - LabWiz, code
labwiz