Determine whether or not the etabotsite server is being run in development or production mode in a platform independent way.
Currently etabotsite/settings.py checks if platform.system()=="Darwin" to determine if LOCAL_MODE should be set to True.
Possibly make this check if the host name is the host name of the production server? Or if there are multiple production servers something like checking if the host name conforms to some regular expression?
One thought that popped up in my mind is that, as we progress with Jenkins for CI/CD, we will have test or staging environment that's similar to the production environment. How would we distinguish them?
Determine whether or not the etabotsite server is being run in development or production mode in a platform independent way.
Currently etabotsite/settings.py checks if platform.system()=="Darwin" to determine if LOCAL_MODE should be set to True.
Possibly make this check if the host name is the host name of the production server? Or if there are multiple production servers something like checking if the host name conforms to some regular expression?