Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve sandbox creation using makefile
- Loading branch information
1 parent
d8fdda9
commit 9aa897c
Showing
1 changed file
with
5 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -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 |