-
Clone the repo, setup virtualenv, install dependencies from requirements.txt
-
Create a file called
instance/config.py
with the following:SECRET_KEY = 'crowdscholar345' SQLALCHEMY_DATABASE_URI = 'mysql://root@localhost/crowdscholar'
any other configuration variables specified here will override the existing
~/config.py
. -
Make a local mysql database 'crowdscholar'
-
Setup databases using the following commands within python shell:
from app import db db.create_all() # creates local mysql db and tables
-
Launch app with
python run.py