From 07e149363a1407c5104173eb2afcfc495f5cd84a Mon Sep 17 00:00:00 2001 From: Pierre-antoine Comby Date: Fri, 10 Apr 2020 23:05:36 +0200 Subject: [PATCH] add README.md --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..5ced077 --- /dev/null +++ b/README.md @@ -0,0 +1,19 @@ +# 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: +``` sh +sudo -u postgres sh -c "dropdb note_db && psql -c 'CREATE DATABASE note_db OWNER note;'" +```