- Currently only supports the free ruleset of the DND 5e SRD.
- Using my dnd-character Python library
- This is my first Django project created for practice
- I appreciate any pull request from anyone :) I'll help out if you need guidance
- Create and activate new Python virtual environment
pip install .
python3 src/manage.py migrate
creates a SQLite dbpython3 src/manage.py createsuperuser
creates an admin user
- Live-reloading dev server:
python3 src/manage.py runserver
- Create migrations if you change models:
python3 src/manage.py makemigrations api
- Run API tests:
python3 src/manage.py test api
- Probably using uWSGI and Nginx just like my Flask projects?
- Switch to the website user
git pull
new code- Activate Python virtual environment
pip install .
python3 src/manage.py migrate
(idempotent so you can always run it)- Restart systemd unit