-
Ensure steps in frontend setup are complete as the frontend dev server gets run locally
-
app server python setup is optional, though pyenv and poetry are nice to have locally for other stuff
-
Bring up backend dev build
docker compose up -d --build
-
In vs code, ensure remote development extension pack is installed
-
Open up ./web directory in a vs code window
-
cnrl+p to open up command pallet and click
Remote-Containers: Open Folder in Container
-
This hijacks the entry point in the web container so start the django server by running:
python manage.py runserver 0.0.0.0:8000
in the vs code terminal of the window attached to the container -
Now making changes to the django code should update the running app
-
frontend located at http://localhost:5173/
-
backend located at http://localhost:8000/
-
If things ever get proper buggered just run
docker compose down -v
and restart from step 3