pokeapi/Makefile

31 lines
589 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:
2018-10-20 00:54:37 +00:00
pylint config data pokemon_v2 --load-plugins pylint_django
2016-03-05 09:27:25 +00:00
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:
find . -type f -name '*.pyc' -delete
2016-04-30 14:36:56 +00:00
migrate:
python manage.py migrate --settings=config.local
shell:
python manage.py shell --settings=config.local