pokeapi/Makefile

25 lines
399 B
Makefile
Raw Normal View History

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
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