mirror of
https://github.com/PokeAPI/pokeapi
synced 2024-11-10 06:04:18 +00:00
27 lines
521 B
Makefile
Executable file
27 lines
521 B
Makefile
Executable file
install:
|
|
pip install -r requirements.txt
|
|
|
|
dev-install:
|
|
pip install -r test-requirements.txt
|
|
|
|
lint:
|
|
pylint ../pokeapi --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
|