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:
|
||||
psql -U postgres -f fittrackee_api/db/create.sql
|
||||
$(FLASK) db upgrade --directory $(MIGRATIONS)
|
||||
$(FLASK) init_data
|
||||
$(FLASK) initdata
|
||||
|
||||
init-db:
|
||||
$(FLASK) drop_db
|
||||
$(FLASK) drop-db
|
||||
$(FLASK) db upgrade --directory $(MIGRATIONS)
|
||||
$(FLASK) init_data
|
||||
$(FLASK) initdata
|
||||
|
||||
install: install-client install-python
|
||||
|
||||
|
@ -19,7 +19,7 @@ def drop_db():
|
||||
|
||||
|
||||
@app.cli.command()
|
||||
def init_data():
|
||||
def initdata():
|
||||
"""Init the database."""
|
||||
admin = User(
|
||||
username='admin',
|
||||
|
Loading…
Reference in New Issue
Block a user