Django Debug Toolbar

BookWyrm has a branch that is configured to run Django Debug Toolbar. This branch will never get merged into main and has a few tweaks that make it work with the toolbar, but unsafe to use in anything resembling a production environment. To use this branch, you will need to go through a few steps to get it running.

Set up

  • Using git, checkout out the debug-toolbar branch
  • Update the branch relative to main using git merge main. The branch is updated periodically but will likely be behind latest.
  • Re-build the Docker images using docker-compose up --build to ensure that the Debug Toolbar library is installed from requirements.txt
  • Access the application web image directly (instead of via nginx) using port 8000