Environment Variables

299 views
Skip to first unread message

salvator...@gmail.com

unread,
May 12, 2022, 10:07:55 AM5/12/22
to oTree help & discussion
What values can the environment variables OTREE_PRODUCTION and OTREE_AUTH_LEVEL take and what does each of these values mean? I cannot find this information in the documentation. 

My goal is to figure out what values to use when testing/debugging and when instead running the actual data collection on Heroku.

Thank you!

Salvo

Chris @ oTree

unread,
May 12, 2022, 10:50:23 AM5/12/22
to salvator...@gmail.com, oTree help & discussion
Auth level is documented here: https://otree.readthedocs.io/en/latest/admin.html#password-protection

OTREE_PRODUCTION is Boolean, either set to 1 or not set at all. 

Sent from my phone

On May 12, 2022, at 10:08 PM, salvator...@gmail.com <salvator...@gmail.com> wrote:

What values can the environment variables OTREE_PRODUCTION and OTREE_AUTH_LEVEL take and what does each of these values mean? I cannot find this information in the documentation. 

My goal is to figure out what values to use when testing/debugging and when instead running the actual data collection on Heroku.

Thank you!

Salvo

--
You received this message because you are subscribed to the Google Groups "oTree help & discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to otree+un...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/otree/da0e43f3-30a2-4bd3-bcf5-da0080953542n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages