This repository contains a code for a presentation around profiling Django applications with Django Silk.
- Create a virtual environment called
venv
, preferrably in Python 3.11 - Activate said virtual environment
- Install requirements:
pip install -r requirements.txt
- Run
setup.sql
to create the database and user - Run
./generate_data.py
to generate the test data - Run
python manage.py runserver
to start the server - You can hit some of the endpoints like:
- Access the Django Silk profiling dashboard on http://127.0.0.1:8000/silk/
- Check out the presentation slides here
- Here's a PDF export