Title here
Summary here
cd ourchive_app
.docker compose up -d
to bring up containers.docker compose run --rm web ./load-fixtures.sh
docker compose exec -it web /bin/bash
b. Run python manage.py createsuperuser
http://localhost:8000
. Verify that it works!You should now be able to make modifications to your local files, and the development server should reflect those changes (though it may take a few seconds for the server to reload).
Run docker compose logs
for both DB and webserver logs.
Run docker compose logs web
for web logs.
Run docker compose exec -it web /bin/bash
to get a shell onto the docker container.
Once there, you can run manage.py
commands and other debugging tools.
You can delete the database by running sudo rm -rf data
from the ourchive_app
directory. Be sure you know what you’re doing.