From 36c3b7d22be28c8807780a385add2fc8fa80cf50 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Fri, 16 Nov 2012 13:29:07 +0100 Subject: Added installation script in the documentation. --- docs/index.rst | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/docs/index.rst b/docs/index.rst index 680049da..c31a84fd 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -95,14 +95,34 @@ The default user is *admin* with the password *admin*. The password should be ha +Script of installation +~~~~~~~~~~~~~~~~~~~~~~ + +.. code-block:: bash + + sudo aptitude install python-feedparser python-beautifulsoup + sudo aptitude install python-pymongo python-imaging + wget http://download.cherrypy.org/cherrypy/3.2.2/CherryPy-3.2.2.tar.gz + tar -xzvf CherryPy-3.2.2.tar.gz + rm -f CherryPy-3.2.2.tar.gz + cd CherryPy-3.2.2/ + sudo python setup.py install + cd .. + sudo rm -Rf CherryPy-3.2.2/ + hg clone https://bitbucket.org/cedricbonhomme/pyaggr3g470r + cd pyaggr3g470r/ + cp cfg/pyAggr3g470r.cfg-sample cfg/pyAggr3g470r.cfg + + + Launch ------ -Finally launch pyAggr3g470r in a shell: +To launch pyAggr3g470r in a shell: .. code-block:: bash - $ cd /home/cedric/pyaggr3g470r/ + $ cd ~/pyaggr3g470r/source/ $ pyAggr3g470r start -- cgit