to start the database (ie. create all tables from scratch) navigate to your project folder and open the python interpreter
yourMachine:projectFolder yourUser$ python
Python 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 12:39:47)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from cordb import db
>>> from app import create_app
>>> app = create_app()
>>> app.app_context().push()
>>> db.create_all()
if you open the db you should now see that the empty tables have been created as specified in the flask_data_models.py file
bug at issue #29 fixed
I read over the flask-sqlalchemy documentation.
to start the database (ie. create all tables from scratch) navigate to your project folder and open the python interpreter
if you open the db you should now see that the empty tables have been created as specified in the
flask_data_models.py
file