Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UCLDC_DEBUG environment variable should turn off DEBUG if false #384

Open
amywieliczka opened this issue Jun 6, 2024 · 0 comments
Open

Comments

@amywieliczka
Copy link

Currently, in order to turn off Django's debug functionality, the UCLDC_DEBUG environment variable needs to be completely unset (https://github.com/cdlib/pad-rikolti-deploy/commit/fa628e336376ed07c710da07ae8e7807f340d510).

I've removed the UCLDC_DEBUG variable from the Cloudformation template, but that means for a -stage or -test instance, we need to manually add it.

Instead, we should modify the application to accept falsy values for UCLDC_DEBUG as flags to turn off Django's debug, then we should add the UCLDC_DEBUG environment variable back into the Cloudformation template, and set it to true for -stage and false for production beanstalks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant