mirror of https://github.com/zulip/zulip.git
Make generate_enterprise_secrets.py work regardless of path.
(imported from commit c1ab8231fbe907a32b18c02a00cee51011abbb21)
This commit is contained in:
parent
037460b24c
commit
9a6f34a807
|
@ -9,6 +9,8 @@ os.environ['DJANGO_SETTINGS_MODULE'] = 'zproject.settings'
|
||||||
from django.utils.crypto import get_random_string
|
from django.utils.crypto import get_random_string
|
||||||
from zerver.lib.utils import generate_random_token
|
from zerver.lib.utils import generate_random_token
|
||||||
|
|
||||||
|
os.chdir(os.path.join(os.path.dirname(__file__), '..', '..'))
|
||||||
|
|
||||||
SETTINGS_FILENAME = "zproject/local_settings_template.py"
|
SETTINGS_FILENAME = "zproject/local_settings_template.py"
|
||||||
OUTPUT_SETTINGS_FILENAME = "zproject/local_settings_generated.py"
|
OUTPUT_SETTINGS_FILENAME = "zproject/local_settings_generated.py"
|
||||||
CAMO_CONFIG_FILENAME = '/etc/default/camo'
|
CAMO_CONFIG_FILENAME = '/etc/default/camo'
|
||||||
|
|
Loading…
Reference in New Issue