- You will notice a bunch of sqlite related code, but we are no longer using sqlite
- You will need to have mysql and python mysql-db
- Create a work space in c9 with the python template and the github ssh url.
- run
git pullto ensure latest changes are pulled. - run
source setup.shto execute setup script. - run
phpmyadmin-ctl installto run the phpmyadmin client. - navigate to the phpmyadmin interface
- create a database named
urcpp_flask_v2 - add a user named
urcpp-flaskwith passwordDanforthLabor123!and checkgrant all permissions on database urcpp_flask_v2- See instructions here for more aid
- comment out lines 20-27 in
api/__init__.py - create a file
api/secret_keywith alphanumeric characters in the file - run
python recreate_static - run
python recreate_dynamic - comment lines 20-27 back in
- run
python api.py - if application does not load, comment out lines 80-83 in 'urcpp-flask/api/everything.py'
- to initialize mysql, run 'mysql-ctl install' and answer 'Y'
Full instructions are in this document
Site will be running on your localhost port 8080: http://localhost:8080