No description
- Python 100%
| ptitlutins | ||
| voyage | ||
| .gitignore | ||
| manage.py | ||
| README.md | ||
| requirements.txt | ||
ptitlutins-backend
Django + DRF + Channels backend for ptitlutins.
Run
System requirement (needed to build some Python deps):
# Fedora / RHEL
sudo dnf install python3-devel
# Debian / Ubuntu
sudo apt install python3-dev
Then:
python -m venv .venv
source .venv/bin/activate # or: source .venv/bin/activate.fish
pip install -r requirements.txt
python manage.py makemigrations voyage
python manage.py migrate
python manage.py createsuperuser # optional, for /admin
python manage.py runserver # http://localhost:8000
Websockets (channels) need Redis running locally — start redis-server
or run it in a container.