安装oTree(文本编辑器)

警告

Using oTree with a text editor is not recommended for most users. If someone advised you to use a text editor, please direct any oTree questions to them.

Setup commands:

pip3 install -U otree
otree startproject myproject
cd myproject
otree devserver

打开浏览器并输入地址 http://localhost:8000/。你应当就能看到oTree演示页面。

To create a new app, run otree startapp your_app_name.

Session configs are defined in settings.py.