diff --git a/selfblog/init_database.sh b/selfblog/init_database.sh new file mode 100755 index 0000000..a6768ab --- /dev/null +++ b/selfblog/init_database.sh @@ -0,0 +1,3 @@ +#!/usr/bin/env sh +nohup python manage.py syncdb --noinput > /dev/null 2>&1 & +nohup python manage.py loaddata initial_data.json > /dev/null 2>&1 &