otree-costs-of-control-questionnaire-mturk
Set-up instructions local environment
- clone repository onto local machine
- Install virtual environment in hidden repository .venv: python3 -m venv .venv
- Activate virtual environment: source .venv/bin/activate
- Install packages locally: pip install -r requirements.txt
- Run development server using 'otree devserver'
Set-up instructions on Heroku (Public prod server)
- Purchase smallest Heroku instance
- Connect otreehub.com account to heroku
- Export project by using command "otree zip"
- Upload the .otreezip file on otreehub
- Reset database in case of any model changes.
Usage of oTree mTurk integration (tested in Sandbox)
https://user-images.githubusercontent.com/7138601/212127438-21539f6e-ec08-4a1b-9df5-6cab3d17264e.mp4