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:
parent
5a1b36181a
commit
07e149363a
19
README.md
Normal file
19
README.md
Normal 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;'"
|
||||
```
|
Loading…
Reference in New Issue
Block a user