No description
Find a file
2026-06-07 12:25:15 +02:00
ptitlutins filter link view and add permission logic 2025-09-14 04:54:02 +02:00
voyage Update event model 2025-10-07 00:19:41 +02:00
.gitignore Fix listing voyages for annonymous user 2025-09-15 19:06:30 +02:00
manage.py baseline API 2025-08-18 19:57:34 +02:00
README.md Readme 2026-06-07 12:25:15 +02:00
requirements.txt Access voyages through links 2025-09-13 04:30:40 +02:00

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.