From f38f3387a5a82141878bef40e02d21d6c853d07e Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Wed, 9 Apr 2014 22:47:39 +0200 Subject: Updated README. --- README.rst | 12 +++++++++--- pyaggr3g470r/views.py | 3 ++- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/README.rst b/README.rst index 948d1e08..1ab47b3e 100644 --- a/README.rst +++ b/README.rst @@ -47,6 +47,7 @@ Deploying the application on Heroku $ heroku run init $ heroku ps:scale web=1 +An instance of pyAggr3g470r is running `here `_ . Deploying the application on a traditional server ''''''''''''''''''''''''''''''''''''''''''''''''' @@ -76,20 +77,23 @@ Deploying the application on a traditional server Configuration (email, proxy, user agent, etc.) is done via the file *conf/conf.cfg*. For example if you want to use pyAggr3g470r with Tor/Privoxy, you just have to set the value of -*http_proxy* (most of the time: ``http_proxy = 127.0.0.1:8118``). Else leave the value blank. +*http_proxy* (most of the time: *http_proxy = 127.0.0.1:8118**). Else leave the value blank. Automatic updates ----------------- -You can fetch new articles with [cron](https://en.wikipedia.org/wiki/Cron) and the script *fetch.py*. -For example if you want to check for updates every 30 minutes, add this line to your cron rules (``crontab -e``): +You can fetch new articles with `cron `_ and the script *fetch.py*. +For example if you want to check for updates every 30 minutes, add this line to your cron rules (*crontab -e*): + +.. code:: bash */30 * * * * cd ~/.pyaggr3g470r/ ; python fetch.py firstname.lastname@mail.com You must give the email address you use to login to pyAggr3g470r. + Donation ======== @@ -97,12 +101,14 @@ If you wish and if you like *pyAggr3g470r*, you can donate via bitcoin `1GVmhR9fbBeEh7rP1qNq76jWArDdDQ3otZ `_. Thank you! + License ======= `pyAggr3g470r `_ is under the `GNU Affero General Public License version 3 `_. + Contact ======= diff --git a/pyaggr3g470r/views.py b/pyaggr3g470r/views.py index 99f84ac5..8e3d56a0 100644 --- a/pyaggr3g470r/views.py +++ b/pyaggr3g470r/views.py @@ -167,7 +167,8 @@ def home(): The home page lists most recent articles of all feeds. """ user = User.query.filter(User.email == g.user.email).first() - return render_template('home.html', user=user, head_title="nb unread") + #return render_template('home.html', user=user, head_title="nb unread") + return render_template('home.html', user=user) @app.route('/fetch/', methods=['GET']) @app.route('/fetch/', methods=['GET']) -- cgit