ACMAS / ACMAS-Frontend

An academic archive querying system for students and alumni.
http://acmas.systems
Mozilla Public License 2.0
6 stars 4 forks source link

Update VS Code launch script to work with Docker Compose #76

Closed jaw12346 closed 1 year ago

jaw12346 commented 1 year ago

Describe the bug Our VS Code launch script .vscode/launch.json is no longer up to date with the new deployment using Docker Compose

To Reproduce Steps to reproduce the behavior:

  1. Open ACMAS in VS Code
  2. Click "Run"
  3. Click "Run Without Debugging"
  4. See error

Expected behavior ACMAS Docker instance should start normally in the console and work properly when navigating to localhost:80.

Screenshots

image

Note The run command must be equivalent to docker-compose up --build

jaw12346 commented 1 year ago

This seems to be a good guide: https://code.visualstudio.com/docs/containers/docker-compose

jaw12346 commented 1 year ago

This does not seem to be possible. To run, right-click the docker-compose.yml file and click the "run" button.