fix Makefile after Python deps update
This commit is contained in:
parent
904cae0028
commit
ec80362f19
6
Makefile
6
Makefile
@ -16,12 +16,12 @@ clean-install:
|
|||||||
install-db:
|
install-db:
|
||||||
psql -U postgres -f fittrackee_api/db/create.sql
|
psql -U postgres -f fittrackee_api/db/create.sql
|
||||||
$(FLASK) db upgrade --directory $(MIGRATIONS)
|
$(FLASK) db upgrade --directory $(MIGRATIONS)
|
||||||
$(FLASK) init_data
|
$(FLASK) initdata
|
||||||
|
|
||||||
init-db:
|
init-db:
|
||||||
$(FLASK) drop_db
|
$(FLASK) drop-db
|
||||||
$(FLASK) db upgrade --directory $(MIGRATIONS)
|
$(FLASK) db upgrade --directory $(MIGRATIONS)
|
||||||
$(FLASK) init_data
|
$(FLASK) initdata
|
||||||
|
|
||||||
install: install-client install-python
|
install: install-client install-python
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@ def drop_db():
|
|||||||
|
|
||||||
|
|
||||||
@app.cli.command()
|
@app.cli.command()
|
||||||
def init_data():
|
def initdata():
|
||||||
"""Init the database."""
|
"""Init the database."""
|
||||||
admin = User(
|
admin = User(
|
||||||
username='admin',
|
username='admin',
|
||||||
|
Loading…
Reference in New Issue
Block a user