#Setup:
-
Clone repository: git clone https://github.com/Michael-D-Johnson/Mdb.git
-
Obtain Google application credentials. This is for downloading initial members spreadsheet from Google Sheets. https://developers.google.com/identity/protocols/OAuth2
-
Add following variables to environment MDB_DIR # directory to repository MDB_CONFIG # full path to config file MDB_SERVER # ip address used by flask GOOGLE_APPLICATION_CREDENTIALS # full path to google credentials json file MAIL_USERNAME MAIL_PASSWORD
-
Setup db: python bin/create_db.py
-
Download initial spreadsheet and update db: bin/bulk.py
-
Update db: bin/run_update.py
-
Run flask: python run_server.py