AlexHartveld / otree-costs-of-control-questionnaire-mturk

oTree environment for reproduction of Falk & Kosfeld's Costs of Control experiment
0 stars 0 forks source link

otree-costs-of-control-questionnaire-mturk

Set-up instructions local environment

  1. clone repository onto local machine
  2. Install virtual environment in hidden repository .venv: python3 -m venv .venv
  3. Activate virtual environment: source .venv/bin/activate
  4. Install packages locally: pip install -r requirements.txt
  5. Run development server using 'otree devserver'

Set-up instructions on Heroku (Public prod server)

  1. Purchase smallest Heroku instance
  2. Connect otreehub.com account to heroku
  3. Export project by using command "otree zip"
  4. Upload the .otreezip file on otreehub
  5. 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