To build a suite of Docker Microservices, and an associated User Interface, for capturing data from the DHS Form G-28 in a modern UI, and for demonstrating a fully automated CI/CD Pipeline and Enterprise Deployment System.
- Project Start: 11/21/2017
- Angular CLI: 1.5.3
- Node: 6.11.2
- OS: win32 x64
- Angular: 5x
- cd API
- npm install
- Set the 'DHS_G28_ENV' environment variable per environment:
- export DHS_G28_ENV=DEV
- The following environment variables are needed for connecting to PostgreSQL:
- PGDATABASE
- PGHOST
- PGPASSWORD
- PGPORT
- PGUSER
- npm run server
- cd API
- docker build -t dhsformg28-api:latest -f ./docker/container/Dockerfile .
- Set the 'DHS_G28_ENV' environment variable per environment:
- export DHS_G28_ENV=DEV
- The following environment variables are needed for connecting to PostgreSQL:
- PGDATABASE
- PGHOST
- PGPASSWORD
- PGPORT
- PGUSER
- docker run -p 3000:3000 -e DHS_G28_ENV -e PGDATABASE -e PGHOST -e PGPASSWORD -e PGPORT -e PGUSER dhsformg28-api:latest
- cd UI
- npm install
- ng serve --open | ng serve --host=0.0.0.0 --open (makes access from mobile emulator easier)
- cd UI
- ng build
- docker build -f docker/container/Dockerfile -t g28form:latest .
- docker run -p 8000:80 g28form:latest