1
0
mirror of https://gitlab.crans.org/bde/nk20-scripts synced 2024-12-26 01:12:25 +00:00

add README.md

This commit is contained in:
Pierre-antoine Comby 2020-04-10 23:05:36 +02:00
parent 5a1b36181a
commit 07e149363a

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