Open console, and run python command
~/mysite $ python
>>> from app import db, app >>> with app.app_context(): ... db.create_all() ... >>> exit()