Skip to content

Commit

Permalink
添加初始化数据库的脚本
Browse files Browse the repository at this point in the history
  • Loading branch information
the5fire committed Feb 24, 2014
1 parent fb197f9 commit ee8f77f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions selfblog/init_database.sh
Original file line number Diff line number Diff line change
@@ -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 &

0 comments on commit ee8f77f

Please sign in to comment.