2013-10-23 23:28:03 +02:00
|
|
|
# Template for Django settings for the Zulip local servers
|
|
|
|
import os
|
|
|
|
import platform
|
|
|
|
import re
|
|
|
|
|
2013-10-25 21:19:30 +02:00
|
|
|
# This is the user-accessible Zulip hostname for this installation
|
|
|
|
EXTERNAL_HOST = ''
|
2013-10-17 16:33:04 +02:00
|
|
|
|
|
|
|
# These credentials are for communication with the central Zulip deployment manager
|
|
|
|
DEPLOYMENT_ROLE_NAME = ''
|
|
|
|
DEPLOYMENT_ROLE_KEY = ''
|
2013-10-23 23:28:03 +02:00
|
|
|
|
2013-10-25 21:19:30 +02:00
|
|
|
# Configure the outgoing SMTP server below. For outgoing email
|
|
|
|
# via a GMail SMTP server, EMAIL_USE_TLS must be True and the
|
|
|
|
# outgoing port must be 587. The EMAIL_HOST is prepopulated
|
|
|
|
# for GMail servers, change it for other hosts
|
2013-10-23 23:28:03 +02:00
|
|
|
EMAIL_USE_TLS = True
|
2013-10-25 21:19:30 +02:00
|
|
|
EMAIL_HOST = 'smtp.gmail.com'
|
2013-10-23 23:28:03 +02:00
|
|
|
EMAIL_HOST_USER = ''
|
|
|
|
EMAIL_HOST_PASSWORD = ''
|
|
|
|
EMAIL_PORT = 587
|
|
|
|
|
2013-10-28 16:13:53 +01:00
|
|
|
# By default uploaded files and avatars are stored directly on the Zulip server
|
2013-10-25 21:19:30 +02:00
|
|
|
# If file storage to Amazon S3 is desired, please contact Zulip Support
|
|
|
|
# (support@zulip.com) for further instructions on setting up S3 integration
|
2013-10-28 16:13:53 +01:00
|
|
|
LOCAL_UPLOADS_DIR = "/home/zulip/uploads"
|
2013-10-23 23:28:03 +02:00
|
|
|
|
2013-10-25 21:19:30 +02:00
|
|
|
# In order to show Tweet previews inline in messages, Zulip must have access
|
|
|
|
# to the Twitter API via OAuth. To fetch the various access tokens needed below,
|
|
|
|
# you must register a new application under your Twitter account by doing the following:
|
|
|
|
#
|
|
|
|
# 1. Log in to http://dev.twitter.com.
|
|
|
|
# 2. In the menu under your username, click My Applications. From this page, create a new application.
|
|
|
|
# 3. Click on the application you created and click "create my access token". Fill in the requested values.
|
|
|
|
TWITTER_CONSUMER_KEY = ''
|
|
|
|
TWITTER_CONSUMER_SECRET = ''
|
|
|
|
TWITTER_ACCESS_TOKEN_KEY = ''
|
|
|
|
TWITTER_ACCESS_TOKEN_SECRET = ''
|
|
|
|
|
|
|
|
# The following keys are automatically generated during the install process
|
|
|
|
# PLEASE DO NOT EDIT THEM
|
|
|
|
CAMO_KEY = ''
|
|
|
|
SECRET_KEY = ''
|
|
|
|
HASH_SALT = ''
|
|
|
|
RABBITMQ_PASSWORD = ''
|
|
|
|
AVATAR_SALT = ''
|
|
|
|
SHARED_SECRET = ''
|