~timo-wingender/widelands-website/website-improvements

173.3.1 by Holger Rapp
added local sample
1
import os
2
bd = "/some/path"
3
bd = os.getcwd() # Better make this a static path
4
5
TEMPLATE_DIRS = bd + '/templates'
6
STATIC_MEDIA_PATH = bd + '/media'
7
MEDIA_ROOT = bd + '/media/'
8
WIDELANDS_SVN_DIR = "/Users/sirver/Desktop/Programming/cpp/widelands/svn_trunk/"
9
10
DATABASE_ENGINE = 'sqlite3'   # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
11
DATABASE_NAME = 'dev.db'      # Or path to database file if using sqlite3.
12
DATABASE_USER = ''            # Not used with sqlite3.
13
DATABASE_PASSWORD = ''        # Not used with sqlite3.
14
DATABASE_HOST = ''            # Set to empty string for localhost. Not used with sqlite3.
15
DATABASE_PORT = ''            # Set to empty string for default. Not used with sqlite3.
16
17
18