github.com/pyroscope-io/pyroscope@v0.37.3-0.20230725203016-5f6947968bd0/examples/python/rideshare/django/README.md (about) 1 # Dockerizing Django with Pyroscope, Postgres, Gunicorn, and Nginx 2 This is a simple rideshare example that adds Pyroscope to a Django application and uses it to profile various routes 3 4 ### Development 5 Uses the default Django development server. 6 7 1. Rename *.env.dev-sample* to *.env.dev*. 8 1. Update the environment variables in the *docker-compose.yml* and *.env.dev* files. 9 1. Build the images and run the containers: 10 11 ```sh 12 $ docker-compose up -d --build 13 ``` 14 15 Test it out at [http://localhost:8000](http://localhost:8000). The "app" folder is mounted into the container and your code changes apply automatically.