Installing requirements
pip install -r requirements.txtMigrate database
python manage.py migrateRun server:
python manage.py runserverBefore running the server, make sure to create a .env file containing:
OPENAI_API_KEY=<API key>
With the appropriate OpenAI API key. The key must allow the usage of the gpt-4.1-mini model.
To deploy the backend, first enter the settings.py and changes DEBUG=False.
Ideally, the backend should be moved to a production-ready WSGI or ASGI server. However, if you lack a server, simply running the server normally should still work. Other deployment requirements can be found in the django documentation.