TODO:
- Create Volumes for API and UI - set up in docker compose
- Set up deployment pipeline
- Map node_modules as volume in docker-compose
- Set up Env variables for email and API names.
TODO: NICE TO HAVE
- Web pack deploy on the pipeline
- break apart UI and API repositories with Manifest file repository
- install and run cypress tests
sdi-capstone-proof-of-concept
To set up application:
git clone <url here>
create volumes
-
db volume somehow
-
UI volume:
docker service create --mount 'type=bind,src=/Users/jeffhaddock/code/blended/capstone-proof/sdi-capstone-proof-of-concept/ui/src,target=/app/src' --name capstone-ui-volume node:alpine
Need to include directions for how to start up Docker containers and make sure database is already created.
to run a particular env for make command:
knex migrate:make --env local creat_about_table
to run against the running database (if 'docker-compose up' has been executed)
knex migrate:latest --env local
Check Heroku Logs
heroku logs --tail -a bsdi-poc-api