add README.md

This commit is contained in:
Pierre-antoine Comby 2020-04-10 23:05:36 +02:00
parent 5a1b36181a
commit 07e149363a
1 changed files with 19 additions and 0 deletions

19
README.md Normal file
View File

@ -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;'"
```