GET
requests are ending up as 404
.gulp buildDev
again in your static_src folder and clear your browser's cache!docker-compose up -d
))pdb
to debug python code (quick intro) (think of gdb
for your python code). Add the following line to where you want to debug the code:docker-compose.yml
under django
container config that allows the container to be attached for debugging:pdb.set_trace()
line.docker attach --detach-keys z ubyssey-dev
to start debugging, and exit out of the debugging session by pressing z
buttonpython manage.py migrate
to run mingrations in typical Django migrations in your local machine. However, because our applications live inside Docker containers, we need to somehow apply changes to the container image instead of your local machine. Use these commands to do so:docker-compose.yml
file where it says:python setup.py develop