aboutsummaryrefslogtreecommitdiff
path: root/source/cfg
diff options
context:
space:
mode:
authorcedricbonhomme <devnull@localhost>2012-04-15 18:59:50 +0200
committercedricbonhomme <devnull@localhost>2012-04-15 18:59:50 +0200
commite6472738b5253aa328f8b2a4f4f2a23abc8582c2 (patch)
treec61704deed1d3cb37f5e3961794896c6dd115ba5 /source/cfg
parentBetter use of datetime. (diff)
downloadnewspipe-e6472738b5253aa328f8b2a4f4f2a23abc8582c2.tar.gz
newspipe-e6472738b5253aa328f8b2a4f4f2a23abc8582c2.tar.bz2
newspipe-e6472738b5253aa328f8b2a4f4f2a23abc8582c2.zip
Reorganization of folders.
Diffstat (limited to 'source/cfg')
-rw-r--r--source/cfg/cherrypy.cfg24
-rwxr-xr-xsource/cfg/pyAggr3g470r.cfg-sample15
2 files changed, 39 insertions, 0 deletions
diff --git a/source/cfg/cherrypy.cfg b/source/cfg/cherrypy.cfg
new file mode 100644
index 00000000..a419504d
--- /dev/null
+++ b/source/cfg/cherrypy.cfg
@@ -0,0 +1,24 @@
+[global]
+log.error_file = "var/error.log"
+log.access_file = "var/access.log"
+server.environment = "production"
+engine.autoreload_on = True
+engine.autoreload_frequency = 5
+engine.timeout_monitor.on = False
+
+[/]
+tools.staticdir.root = os.getcwd()
+tools.staticdir.on = True
+tools.staticdir.dir = "."
+tools.encode.on = True
+tools.encode.encoding = "utf8"
+
+[/css]
+tools.staticdir.on = True
+tools.staticdir.dir = "css"
+tools.staticdir.match = "(?i)^.+\.css$"
+
+[/images]
+tools.staticdir.on = True
+tools.staticdir.dir = "img"
+tools.staticdir.match = "(?i)^.+\.png$" \ No newline at end of file
diff --git a/source/cfg/pyAggr3g470r.cfg-sample b/source/cfg/pyAggr3g470r.cfg-sample
new file mode 100755
index 00000000..95db75c5
--- /dev/null
+++ b/source/cfg/pyAggr3g470r.cfg-sample
@@ -0,0 +1,15 @@
+[global]
+max_nb_articles = 50
+[MongoDB]
+address = 127.0.0.1
+port = 27017
+user = username
+password = pwd
+[mail]
+mail_from = pyAggr3g470r@no-reply.com
+mail_to = address_of_the_recipient@example.com
+smtp = smtp.example.com
+username = your_mail_address@example.com
+password = your_password
+[misc]
+diaspora_pod = joindiaspora.com
bgstack15