Skip to content

Dev Environment Setup

Barrett Falk edited this page Jan 22, 2024 · 5 revisions
  1. Checkout Code from GitHub
  2. Open Project in VSCode
  3. Add .env files to the backend, frontend, and webeoc folders (env files)*
  4. 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 issuing npm 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.