lingthio / Flask-User-starter-app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Running reset_db.py

milonline-eu opened this issue · comments

reset_db.py is in app/startup/ from there it is unable to resolve package dependencies. When I moved it to root directory it's fine.

OR am I doing something wrong?

Stay in the root directory and type:

PYTHONPATH=. python app/startup/reset_db.py

FYI: I recently added Alembic (a DB migration tool) to the mix, so with the recent code you should be able to type:

python app.py db upgrade head