Skip to content

Commit

Permalink
Merge remote-tracking branch 'refs/remotes/origin/add-tests-to-MR-pip…
Browse files Browse the repository at this point in the history
…eline' into add-tests-to-MR-pipeline
  • Loading branch information
CalPinSW committed Jun 26, 2024
2 parents e179cde + c1cc7f4 commit 2b18cbb
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,19 +34,12 @@ From the frontend directory, build the backend in development mode with `docker

From the backend directory, build the frontend in development mode with `docker build --target development --tag frontend:dev .`

From the frontend directory, build the backend in development mode with `docker build --target development --tag backend:dev .`

From the backend directory, build the frontend in development mode with `docker build --target development --tag frontend:dev .`

Build backend docker image with `docker build --target development --tag backend:dev ./backend/`

Build backend tests docker image with `docker build --target test --tag backend:test ./backend/`

Build the frontend docker image with `docker build --tag frontend:dev ./frontend/`

Run backend in development mode from the backend folder with `docker run --env-file .env -p 5000:5000 --mount "type=bind,source=$(pwd)/src,target=/backend/src" backend:dev`

Run frontend in development mode with `docker run -it --init --env-file .env -p 1234:1234 --mount "type=bind,source=$(pwd)/src,target=/frontend/src" frontend:dev` (use --entrypoint /bin/bash for debugging)
Run frontend in development mode from the frontend folderwith `docker run -it --init --env-file .env -p 1234:1234 --mount "type=bind,source=$(pwd)/src,target=/frontend/src" frontend:dev` (use --entrypoint /bin/bash for debugging)

## Provisioning VMs with Ansible

Expand Down

0 comments on commit 2b18cbb

Please sign in to comment.