mirror of
https://github.com/PokeAPI/pokeapi
synced 2024-11-23 03:43:03 +00:00
27 lines
533 B
Makefile
Executable file
27 lines
533 B
Makefile
Executable file
install:
|
|
pip install -r requirements.txt
|
|
|
|
dev-install:
|
|
pip install -r test-requirements.txt
|
|
|
|
lint:
|
|
pylint config data pokemon_v2 --load-plugins pylint_django
|
|
|
|
setup:
|
|
python manage.py migrate --settings=config.local
|
|
python manage.py loaddata dev-data.json --settings=config.local
|
|
|
|
wipe_db:
|
|
rm -rf db.sqlite3
|
|
|
|
serve:
|
|
python manage.py runserver --settings=config.local
|
|
|
|
test:
|
|
python manage.py test --settings=config.local
|
|
|
|
clean:
|
|
find . -type f -name '*.pyc' -delete
|
|
|
|
migrate:
|
|
python manage.py migrate --settings=config.local
|