mirror of
https://github.com/PokeAPI/pokeapi
synced 2025-02-16 12:38:25 +00:00
chore: add target [skip ci]
This commit is contained in:
parent
00a73288d3
commit
6305602cb6
1 changed files with 3 additions and 0 deletions
3
Makefile
3
Makefile
|
@ -18,6 +18,9 @@ dev-install: # Install developer requirements + base requirements
|
||||||
setup: # Set up the project database
|
setup: # Set up the project database
|
||||||
python manage.py migrate ${local_config}
|
python manage.py migrate ${local_config}
|
||||||
|
|
||||||
|
build-db: # Build database
|
||||||
|
echo "from data.v2.build import build_all; build_all()" | python manage.py shell ${local_config}
|
||||||
|
|
||||||
wipe-sqlite-db: # Delete's the project database
|
wipe-sqlite-db: # Delete's the project database
|
||||||
rm -rf db.sqlite3
|
rm -rf db.sqlite3
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue