add README.md
This commit is contained in:
parent
5a1b36181a
commit
07e149363a
|
@ -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;'"
|
||||
```
|
Loading…
Reference in New Issue