_.COUCHDB.CONF_TMPL = 'couchdb_swlabs.ini' # name of template in local repro _.COUCHDB.ORGCONF_DIR = '/etc/couchdb/local.d' # here comes the symlink _.COUCHDB.ORGCONF_PATH_ = lambda: join(_.COUCHDB.ORGCONF_DIR, _.COUCHDB.CONF_NAME) _.COUCHDB.CONF_PATH_ = lambda: join(_.SVCCONFIG.PATH_(), _.COUCHDB.CONF_NAME) _.COUCHDB.DATA_DIR = 'couchdb_data' _.COUCHDB.DATA_PATH_ = lambda: join(_.SVCDATA.PATH_(), _.COUCHDB.DATA_DIR) _.COUCHDB.ADDRESS = '127.0.0.1' _.COUCHDB.PORT = 5984 _.COUCHDB.AUTH = "{couch_httpd_auth, default_authentication_handler}" _.APACHE = AttrDict() _.APACHE.CONF_NAME = 'apache_swlabs.conf' # filename on server _.APACHE.CONF_TMPL = 'apache_swlabs.conf' # filename in repro _.APACHE.ORGCONF_DIR = '/etc/apache2/vhosts.d' _.APACHE.ORGCONF_PATH_ = lambda: join(_.APACHE.ORGCONF_DIR, _.APACHE.CONF_NAME) _.APACHE.CONF_PATH_ = lambda: join(_.SVCCONFIG.PATH_(), _.APACHE.CONF_NAME) _.DJANGOAPP = AttrDict() _.DJANGOAPP.SRCDIR = _.SRC.DJANGODIR # how is the folder with the django project named in the repro #_.DJANGOAPP.SRCPATH_ = _.SRC.DJANGODIR _.DJANGOAPP.ROOT_DIR = 'django_apps' # the name of the root django project on remote, eg the folder name on the server, doesn't depend on local dir (thats SRC_DIR) _.DJANGOAPP.CONF_TMPL = 'django_machine_settings.py' # the name of the template in the repro _.DJANGOAPP.CONF_NAME = 'machine_settings.py' # the name of the final config file on srv _.DJANGOAPP.PROJ_DIR = '_app' # the main folder / project name (where settings.py and wsgi.py are) local and remote