Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 5b0fe92498
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 50 lines (41 sloc) 1.28 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
import os

GAME_NAME = "Dawn of the Titans"
PROXY_LISTEN_PORTS = [4000]
SERVER_AMP_HOST = 'localhost'
SERVER_AMP_PORT = 4001

USER_IDLE_TIMEOUT = 0

BASE_PATH = os.path.dirname(os.path.abspath(__file__))
SRC_DIR = os.path.join(BASE_PATH, 'src')
LOG_DIR = os.path.join(BASE_PATH, 'log')

SECRET_KEY = 'CHANGE-ME-AND-KEEP-SAFE'

# Optionally, provide a user/pass for CouchDB. If none is provided, assume
# that your CouchDB doesn't require authentication.
COUCHDB_USER = None
COUCHDB_PASS = None

DATABASES = {
    'objects': {
        'NAME': 'dott_objects',
    },
    'accounts': {
        'NAME': 'dott_accounts',
    }
}

# Amazon Web Services credentials.
AWS_ACCESS_KEY_ID = 'XXXXXXXXXXXXXXXXXXXXX'
AWS_SECRET_ACCESS_KEY = 'YYYYYYYYYYYYYYYYYYYYYYYYYYY'
# This needs to be set to one of your Amazon SES verified email addresses.
SERVER_EMAIL_FROM = 'your@email.com'
# The ID of the room or object that new PlayerObjects are created in.
NEW_PLAYER_LOCATION_ID = 1

# Pull the hash from the head of the current branch.
GIT_COMMIT_HASH_FILE = os.path.join(
    os.path.dirname(__file__),
    '.git',
    'ORIG_HEAD'
)
# The current version is a git hash.
VERSION = open(GIT_COMMIT_HASH_FILE, 'r').read().strip()

try:
    from local_settings import *
except ImportError:
    pass
Something went wrong with that request. Please try again.