1
0
mirror of https://gitlab.crans.org/bde/nk20-scripts synced 2024-12-27 01:42:24 +00:00
Fork this repo to modify it
Go to file
Pierre-antoine Comby fa0ac58999 better print
2020-04-11 15:58:34 +02:00
management better print 2020-04-11 15:58:34 +02:00
shell flush db is not enough 2020-04-10 23:06:12 +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;'"