generated from bcgov/quickstart-openshift
-
Notifications
You must be signed in to change notification settings - Fork 2
Dev Environment Setup
Barrett Falk edited this page Jan 22, 2024
·
5 revisions
- Checkout Code from GitHub
- Open Project in VSCode
- Add .env files to the backend, frontend, and webeoc folders (env files)*
- Run the command
docker compose up database database-migrations frontend backend nats webeoc
. This will start the database, flyway migrations, backend, frontend, nats (for webeoc messaging) and webeoc (for grabbing new complaints from webeoc). Note that in development you probably just want to docker compose the database, migrations. Then start the backend and frontend for automatic deployments by issuingnpm start
from the backend folder and then the same from the frontend folder.
* Note: The webeoc environment variable WEBEOC_PASSWORD needs a password value. Reach out to Alec or Barrett for this.