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 Jun 13, 2024
·
5 revisions
- Add roles to your idir via Common Single Signon, and add yourself as an officer (see https://github.com/bcgov/nr-compliance-enforcement/wiki/Adding-new-Officers)
- Checkout Code from GitHub
- Open Project in VSCode
- Add .env files to the backend, frontend, and webeoc folders [(env files)](https://github.com/bcgov/nr-compliance-enforcement/wiki/ Environment-Variables)*
- 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, webeoc, and nats containers. Then start the backend and frontend for automatic deployments by issuingnpm start
from the backend folder and then the same from the frontend folder.