2014-12-04 11:11:46 +00:00
|
|
|
install:
|
2016-03-05 08:29:26 +00:00
|
|
|
pip install -r requirements.txt
|
2014-12-04 11:11:46 +00:00
|
|
|
|
2016-03-05 09:27:25 +00:00
|
|
|
dev-install:
|
|
|
|
pip install -r test-requirements.txt
|
|
|
|
|
|
|
|
lint:
|
|
|
|
flake8 .
|
|
|
|
|
2014-12-04 11:11:46 +00:00
|
|
|
setup:
|
|
|
|
python manage.py migrate --settings=config.local
|
2015-03-11 20:07:30 +00:00
|
|
|
python manage.py loaddata dev-data.json --settings=config.local
|
2014-12-04 11:11:46 +00:00
|
|
|
|
|
|
|
wipe_db:
|
|
|
|
rm -rf db.sqlite3
|
|
|
|
|
|
|
|
serve:
|
|
|
|
python manage.py runserver --settings=config.local
|
|
|
|
|
|
|
|
test:
|
2014-12-15 10:13:52 +00:00
|
|
|
python manage.py test --settings=config.local
|
2014-12-04 11:11:46 +00:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -rf *.pyc
|
2016-04-30 14:36:56 +00:00
|
|
|
|
|
|
|
migrate:
|
|
|
|
python manage.py migrate --settings=config.local
|