1
0
mirror of https://gitlab.crans.org/bde/nk20-scripts synced 2024-12-26 17:32:23 +00:00
Fork this repo to modify it
Go to file
Pierre-antoine Comby 07e149363a add README.md
2020-04-10 23:05:36 +02:00
management use fixture as references and display status 2020-04-10 18:13:26 +02:00
__init__.py Initial commit 2020-02-24 14:19:40 +01:00
.gitignore Initial commit 2020-02-24 14:19:40 +01:00
README.md add README.md 2020-04-10 23:05:36 +02:00

Script de la NoteKfet 2020

Commandes Django

les commandes sont documentées: ./manage.py command --help

  • import_nk15 : Importe un dump de la NoteKfet 2015.

  • make_su: rend superutilisateur les pseudos renseignés

Shell

  • Tabula rasa:
sudo -u postgres sh -c "dropdb note_db && psql -c 'CREATE DATABASE note_db OWNER note;'"