Make generate_enterprise_secrets.py work regardless of path.

(imported from commit c1ab8231fbe907a32b18c02a00cee51011abbb21)
This commit is contained in:
Tim Abbott 2013-11-14 08:59:33 -05:00
parent 037460b24c
commit 9a6f34a807
1 changed files with 2 additions and 0 deletions

View File

@ -9,6 +9,8 @@ os.environ['DJANGO_SETTINGS_MODULE'] = 'zproject.settings'
from django.utils.crypto import get_random_string
from zerver.lib.utils import generate_random_token
os.chdir(os.path.join(os.path.dirname(__file__), '..', '..'))
SETTINGS_FILENAME = "zproject/local_settings_template.py"
OUTPUT_SETTINGS_FILENAME = "zproject/local_settings_generated.py"
CAMO_CONFIG_FILENAME = '/etc/default/camo'