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

tabularasa, but dishes are re-installed

This commit is contained in:
Pierre-antoine Comby 2020-05-25 12:22:09 +02:00
parent 72a752fd56
commit 985f7c7bcd

View File

@ -1,3 +1,6 @@
#!/usr/bin/sh
sudo -u postgres sh -c "dropdb note_db && psql -c 'CREATE DATABASE note_db OWNER note;'";
echo 'reset db';
source "env/bin/activate"
./manage.py migrate
./manage.py loaddata initial