Added an env variable that allows maitenance mode (#679)

This commit is contained in:
farhatahmad
2019-07-22 16:45:56 -04:00
committed by Jesus Federico
parent f2373ad21e
commit 02c0d577f8
4 changed files with 23 additions and 1 deletions

View File

@ -144,6 +144,14 @@ NUMBER_OF_ROWS=25
# ENABLE_GOOGLE_CALENDAR_BUTTON=true|false
ENABLE_GOOGLE_CALENDAR_BUTTON=
# Set the application into Maintenance Mode
#
# Current options supported:
# full: Renders an error page that does not allow users to access any of the features in the application
# readonly: Sets the database to readonly mode, which allows users to use actions that dont write to the database
# false: Application runs normally
MAINTENANCE_MODE=false
# Comment this out to send logs to STDOUT in production instead of log/production.log .
#
# RAILS_LOG_TO_STDOUT=true