tabularasa, but dishes are re-installed
This commit is contained in:
parent
72a752fd56
commit
985f7c7bcd
|
@ -1,3 +1,6 @@
|
||||||
#!/usr/bin/sh
|
#!/usr/bin/sh
|
||||||
sudo -u postgres sh -c "dropdb note_db && psql -c 'CREATE DATABASE note_db OWNER note;'";
|
sudo -u postgres sh -c "dropdb note_db && psql -c 'CREATE DATABASE note_db OWNER note;'";
|
||||||
echo 'reset db';
|
echo 'reset db';
|
||||||
|
source "env/bin/activate"
|
||||||
|
./manage.py migrate
|
||||||
|
./manage.py loaddata initial
|
||||||
|
|
Loading…
Reference in New Issue