La Nuit de l'Info 2021
Find a file
2021-12-03 06:49:40 +01:00
.github/workflows Test GitHub django workflow 2021-12-03 01:46:05 +01:00
boat Create README and example sql 2021-12-03 06:40:07 +01:00
core Login/logout un header, gravatar 2021-12-03 04:22:10 +01:00
crew Register model to admin panel 2021-12-03 03:40:41 +01:00
error Register model to admin panel 2021-12-03 03:40:41 +01:00
nuitdelinfo_2021 Dynamic map 2021-12-03 05:22:13 +01:00
people People list 2021-12-03 06:20:07 +01:00
rescue Dynamic search 2021-12-03 06:19:58 +01:00
static Merge pull request #9 from flifloo/kybo 2021-12-03 06:41:07 +01:00
templates Christmas Present ! 2021-12-03 06:49:40 +01:00
.gitignore Implement login/register 2021-12-03 01:09:55 +01:00
db.sql Create README and example sql 2021-12-03 06:40:07 +01:00
docker-compose.yml Add docker image and compose 2021-12-03 01:45:44 +01:00
Dockerfile Add docker image and compose 2021-12-03 01:45:44 +01:00
manage.py home page 2021-12-02 22:30:17 +01:00
README.md Create README and example sql 2021-12-03 06:40:07 +01:00
requirements.txt Protect pages with login 2021-12-03 01:12:12 +01:00

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