initialise repo
[debian/make-magic.git] / config.py
1 #! /usr/bin/env python
2 '''config file for make-magic
3
4 This is currently written in pure python, but should be pretty
5 easy to deal with
6
7 You can also override things in local_config.py
8 '''
9
10 # Where do we read our item definitions from
11 #
12 items_file = 'doc/sample_items.json'
13
14
15 # MongoDB database to store information about tasks in
16 mongodb_server = 'localhost'
17 mongodb_port = 27017
18 mongodb_database = 'magic' 
19
20 # Where the webserver should listen
21 httpd_listen_address = '127.0.0.1'
22 httpd_listen_port = 4554
23
24
25 # Attempt to import a local config to override stuff
26 try:
27         from local_config import *
28 except: 
29         pass