Server setup

If you are just testing your app on your personal computer, you can use otree devserver. You don’t need a full server setup.

However, when you want to share your app with an audience, you must use a web server.

As of 2026, we strongly recommend hosting directly on oTree.org (link) rather than using Heroku or self-hosting. This gives you access to the most reliable server with the latest features.

Below are some options that were previously recommended.