{% extends "otree/BaseAdmin.html" %} {% block title %} Server Readiness Checks {% endblock %} {% block content %}
For details on how to fix any issues highlighted below, see here.
{% if pypi_results.pypi_connection_error %}heroku config:set OTREE_PRODUCTION=1
OTREE_PRODUCTION
to 1
.
{% endif %}
otree runserver
,
which is only suitable for local development.
When launching a real study, you should run a proper multi-process server,
e.g. otree runprodserver
.
runserver
.
DEBUG
mode,
you will no longer see Django’s yellow error pages;
you or your users will just see generic "500 server error" pages.
oTree offers a free Sentry service;
you can find the sign-up link in the oTree documentation.
OTREE_AUTH_LEVEL
.
AUTH_LEVEL
is {{ auth_level }}
.
otree resetdb
.
If your study has timeouts on pages (with timeout_seconds
),
then the timeoutworker will automatically advance a user when they exceed the timeout,
even if they close their browser.
Also, the timeoutworker is necessary if you want to use browser bots.
In your app dashboard, make sure your timeoutworker dyno is turned on.
{% else %}
It is launched automatically as part of otree runprodserver
.