platform1-site
Static site for https://p1.dso.mil Staging url: https://p1.staging.dso.mil
Requirements
- nodejs v16 installed
- Windows Installation:
- Download the latest LTS Version 16 here: https://nodejs.org/en/download/
- Linux Installation:
npm cache clean -f npm install -g n n 16
- Windows Installation:
Project setup
npm install
Compiles and hot-reloads for development
npm run serve
Compiles and minifies for production
npm run build
Run all tests
npm run test
Run your unit tests
npm run test:unit
Run your end-to-end tests
CLI end-to-end tests
npm run test:e2e-ci
GUI end-to-end tests
npm run test:e2e
Lints and fixes files
npm run lint
Run production build in NGINX production environment using Docker
npm run build
docker pull registry.il2.dso.mil/platform-one/products/bullhorn/padawan/padawan-umbrella:1.0.2
docker run -it --rm \
--name=platform-one-site \
-p 9999:8080 \
-v $PWD/dist:/var/www \
-v $PWD/tests/custom-csp.conf:/etc/nginx/conf.d/site-config/custom-csp.conf \
registry.il2.dso.mil/platform-one/products/bullhorn/padawan/padawan-umbrella:1.0.2