La Nuit de l'Info 2021
| .github/workflows | ||
| boat | ||
| core | ||
| crew | ||
| error | ||
| nuitdelinfo_2021 | ||
| people | ||
| rescue | ||
| static | ||
| templates | ||
| .gitignore | ||
| db.sql | ||
| docker-compose.yml | ||
| Dockerfile | ||
| manage.py | ||
| README.md | ||
| requirements.txt | ||
La Nuit de l'Info 2021
Benoît Kezel | Florian Charlaix
Dependencices
- python3
- python3-dev
- python3-pip
- python3-venv
- libpq-dev
Example:
apt install python3 python3-dev python3-pip python3-venv libpq-dev
Database
You need to copy settings.py.exemple to settings.py and complete the database connexion (PostgresSQL)
You can add a mail server for user registration confirmation
Installation
python3 -m venv venv
. venv/bin/activate
pip install -r requirements.txt
python manage.py migrate
Start th server
python manage.py runserver 8000
Test database (db.sql)
Admin login: nuitdelinfo_2021
Admin password: nuitdelinfo_2021