Create a directory (mkdir maubot) and enter it (cd maubot).
Do not clone the repository. If you want to use a specific version from
git rather than PyPI, use the development setup instructions.
Set up a virtual environment.
Create with virtualenv -p /usr/bin/python3 . (note the dot at the end)
You should not use a subdirectory for the virtualenv in this production
setup. The pip install step places some required files at the root of
the environment.
Activate with source ./bin/activate
Install with pip install --upgrade maubot
Copy example-config.yaml to config.yaml and update to your liking.
Create the log directory and all directories used in plugin_directories
(usually mkdir plugins trash logs).