oTree is a Python framework that lets you build:
note: oTree requires Python 3.7.x
(not Python 3.6.x or Python 3.8.x)
Make sure you are running the correct version of Python before starting
pip install service_identity
Install oTree
pip install -U otree
oTree also runs with heroku, to get started install the heroku cli utitily https://devcenter.heroku.com/articles/heroku-cli#download-and-install
See oTree documentation here: https://otree.readthedocs.io/en/latest/index.html
Commands
Create new project
You can skip this step if you have cloned the github repo
otree startproject <proj_name>
cd <proj_name>
Start the Project
otree devserver
Rather than cloning this repo directly, run these commands:
pip3 install -U otree
otree startproject oTree
cd oTree
otree devserver