From 16ec162838eb8ab891f5b04351bb202d84a2b834 Mon Sep 17 00:00:00 2001 From: François Schmidts Date: Mon, 9 Jun 2014 14:04:38 +0200 Subject: making pyagregator runnable by apache * adding bootstrap module for basic import * redoing logging (config, proper use of the logging module) * making secret part of config (random wouldn't work with apache since it uses different instances of python) * making server entry point not executing application if just imported * not writing file for opml when we can read it from memory --- conf/conf.cfg-sample | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'conf') diff --git a/conf/conf.cfg-sample b/conf/conf.cfg-sample index a7a3d4cf..8f0b7aec 100644 --- a/conf/conf.cfg-sample +++ b/conf/conf.cfg-sample @@ -1,18 +1,20 @@ [misc] platform_url = https://pyaggr3g470r.herokuapp.com/ -admin_platform_email = +admin_platform_email = recaptcha_public_key = recaptcha_private_key = +log_path = ./pyaggr3g470r/var/pyaggr3g470r.log [database] uri = postgres://cedric:password@127.0.0.1:5432/pyAggr3g470r [feedparser] -http_proxy = +http_proxy = user_agent = pyAggr3g470r (https://bitbucket.org/cedricbonhomme/pyaggr3g470r) resolve_article_url = 0 [webserver] debug = 1 host = 0.0.0.0 port = 5000 +secret = a secret only you know [mail] enabled = 0 admin_email = pyAggr3g470r@no-reply.com -- cgit