-
Clone this repo
-
Copy and update .env files in each folder by running:
$ cp .env.dev .env
-
Spin up both containers using docker-compose:
$ docker compose up
Navigate to http://localhost:5000 to access the api docs/admin
Navigate to http://localhost:8080 to access the vue app
-
A test Postgres db has already been setup, so zero work is required ther.
- Github actions is setup to:
- Build from the master branch
- Fetch environment variables from AWS secrets keys (can be swapped out for any secrets manager)
- Build and push individual containers of both api and frontend folders to ECR(or docker hub)
- Finally deploy to an ec2 instance(or droplet)