oTree Production Server Setup
This documentation contains all the information neccessary to setup oTree on a fresh Ubuntu 20.04 install. The rough process is as follows:
install required software
setup an otree user and set privileges
install Python 3.9.9 from sources
initialize the PostgreSQL database
setup Git with post-receive hooks
setup nginx as a reverse proxy
The individual chapters cover the steps in more detail.