aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStanislav Ochotnicky <sochotnicky@gmail.com>2009-08-14 18:36:44 +0200
committerStanislav Ochotnicky <sochotnicky@gmail.com>2009-08-14 18:36:44 +0200
commita8f7e0d214ba40dcecb96cbd2848aa670fe44d16 (patch)
treef82edd5480f85caa06c158d722bedfe29c1689cb /examples
parentInstall web part of collagen to /usr/share (diff)
downloadcollagen-a8f7e0d214ba40dcecb96cbd2848aa670fe44d16.tar.gz
collagen-a8f7e0d214ba40dcecb96cbd2848aa670fe44d16.tar.bz2
collagen-a8f7e0d214ba40dcecb96cbd2848aa670fe44d16.zip
Moved sample configuration files to examples/ dir
Diffstat (limited to 'examples')
-rw-r--r--examples/db_config.py8
-rw-r--r--examples/tinderbox_config.py17
2 files changed, 25 insertions, 0 deletions
diff --git a/examples/db_config.py b/examples/db_config.py
new file mode 100644
index 0000000..627ce46
--- /dev/null
+++ b/examples/db_config.py
@@ -0,0 +1,8 @@
+
+DATABASE_ENGINE = 'postgresql_psycopg2' # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
+DATABASE_NAME = 'collagen' # Or path to database file if using sqlite3.
+DATABASE_USER = 'username' # Not used with sqlite3.
+DATABASE_PASSWORD = 'password' # Not used with sqlite3.
+DATABASE_HOST = '' # Set to empty string for localhost. Not used with sqlite3.
+DATABASE_PORT = '' # Set to empty string for default. Not used with sqlite3.
+INSTALLED_APPS = ('collagen.matchbox.db.main')
diff --git a/examples/tinderbox_config.py b/examples/tinderbox_config.py
new file mode 100644
index 0000000..d6c1d48
--- /dev/null
+++ b/examples/tinderbox_config.py
@@ -0,0 +1,17 @@
+MATCHBOX_HOST="localhost"
+MATCHBOX_PORT=10000
+
+MK_CHROOT_SCRIPT="/usr/sbin/mktinderboxchroot.sh"
+STAGE_TARBALL="/data/downloads/stage3-i686-2008.0.tar.bz2"
+
+WORKDIR="/data/temp"
+
+BASE_CHROOT=WORKDIR+"/collagen-base-chroot"
+WORK_CHROOT=WORKDIR+"/collagen-work-chroot"
+
+CHROOT_LOGS="/logs"
+
+import logging as log
+LOG_LEVEL=log.DEBUG
+
+