Skip to content

Commit

Permalink
Improve sandbox creation using makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
codeinthehole committed Sep 27, 2012
1 parent d8fdda9 commit 9aa897c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions makefile
@@ -1,10 +1,11 @@
install: install:
./setup.py develop ./setup.py develop > /dev/null
pip install -r requirements.txt pip install -r requirements.txt > /dev/null


test: test:
./runtests.py ./runtests.py


sandbox: install sandbox: install
sandbox/manage.py syncdb --noinput [ -f sandbox/db.sqlite ] && rm sandbox/db.sqlite
sandbox/manage.py loaddata sandbox/fixtures/users.json sandbox/manage.py syncdb --noinput > /dev/null
sandbox/manage.py loaddata sandbox/fixtures/users.json countries.json > /dev/null

0 comments on commit 9aa897c

Please sign in to comment.