aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--documentation/deployment.rst19
1 files changed, 11 insertions, 8 deletions
diff --git a/documentation/deployment.rst b/documentation/deployment.rst
index 9cae0ddf..3aedbb60 100644
--- a/documentation/deployment.rst
+++ b/documentation/deployment.rst
@@ -3,7 +3,8 @@ Deployment
This application can be deployed on Heroku or on a traditional server.
-After installation, you will be able to connect with the email *root@pyAggr3g470r.localhost* and the password *password*.
+After installation, you will be able to connect with the email
+*root@pyAggr3g470r.localhost* and the password *password*.
Deploying the application with Vagrant
--------------------------------------
@@ -45,7 +46,8 @@ The geek way
$ heroku run init
$ heroku ps:scale web=1
-To enable account creation for users, you have to set some environment variables:
+To enable account creation for users, you have to set some environment
+variables:
.. code-block:: bash
@@ -130,21 +132,22 @@ Finally:
Configuration
=============
-Configuration (database url, email, proxy, user agent, etc.) is done via the file `conf/conf.cfg`.
+Configuration (database url, email, proxy, user agent, etc.) is done via the
+file `conf/conf.cfg`.
Check this file before initializing the database (with `manager.py`).
-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.
+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.
Automatic updates
=================
You can fetch new articles with `cron <https://en.wikipedia.org/wiki/Cron>`_.
-For example if you want to check for updates every 30 minutes, add this line to your cron rules (*crontab -e*):
+For example if you want to check for updates every 30 minutes, add this line to
+your cron rules (*crontab -e*):
.. code-block:: bash
*/30 * * * * cd ~/.pyaggr3g470r/ ; python manager.py fetch_asyncio None None
-
-You must give the email address you use to login to pyAggr3g470r.
bgstack15