Setup virtualenv
virtualenv -p python3 csaenv
source csaenv/bin/activate
cd project_directory/
pip install -r requirements.txt
Remove any previous local db and initialize new local test db
rm agent.db
flask --app public_arts_app init-test-db
Run webapp locally
python run_app.py debug
Access study 1 using URL
http://127.0.0.1:9003/welcome/consent/0?PROLIFIC_PID=0&STUDY_ID=0
Access study 2 using URL
http://127.0.0.1:9003/welcome/consent/11?PROLIFIC_PID=0&STUDY_ID=0
for testing, keep the STUDY_ID the same but change the PROLIFIC_PID to test with a new user.