Code

Added the Roundup spec to the new documentation directory.
[roundup.git] / roundup / templates / extended / instance_config.py
1 # $Id: instance_config.py,v 1.1 2001-07-23 04:33:21 anthonybaxter Exp $
3 MAIL_DOMAIN=MAILHOST=HTTP_HOST=None
4 HTTP_PORT=0
6 try:
7     from localconfig import *
8 except ImportError:
9     localconfig = None
11 import os
13 # roundup home is this package's directory
14 INSTANCE_HOME=os.path.split(__file__)[0]
16 # The SMTP mail host that roundup will use to send mail
17 if not MAILHOST:
18     MAILHOST = 'localhost'
20 # The domain name used for email addresses.
21 if not MAIL_DOMAIN:
22     MAIL_DOMAIN = 'bizarsoftware.com.au'
24 # the next two are only used for the standalone HTTP server.
25 if not HTTP_HOST:
26     HTTP_HOST = ''
27 if not HTTP_PORT:
28     HTTP_PORT = 9080
30 # This is the directory that the database is going to be stored in
31 DATABASE = os.path.join(INSTANCE_HOME, 'db')
33 # This is the directory that the HTML templates reside in
34 TEMPLATES = os.path.join(INSTANCE_HOME, 'html')
36 # The email address that mail to roundup should go to
37 ISSUE_TRACKER_EMAIL = 'issue_tracker@%s'%MAIL_DOMAIN
39 # The email address that roundup will complain to if it runs into trouble
40 ADMIN_EMAIL = 'roundup-admin@%s'%MAIL_DOMAIN
42 # Somewhere for roundup to log stuff internally sent to stdout or stderr
43 LOG = os.path.join(INSTANCE_HOME, 'roundup.log')
45 #
46 # $Log: not supported by cvs2svn $
47 #