From 5b4f09d554a396eeb25b9fdede3740164ad74e7d Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Fri, 28 Nov 2014 18:36:40 +0100 Subject: Updated README.rst and vagrant bootstrap file. --- README.rst | 5 +++-- vagrant/bootstrap.sh | 9 +++++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/README.rst b/README.rst index a2a9bfc1..46c8b866 100644 --- a/README.rst +++ b/README.rst @@ -108,10 +108,11 @@ Deploying the application on a traditional server .. code:: bash - $ sudo apt-get install -y python libpq-dev python-dev python-pip git + $ sudo apt-get install python libpq-dev python-dev python-pip build-essential git + $ sudo apt-get install libatlas-base-dev gfortran # for scipy + $ sudo apt-get install libxml2-dev libxslt1-dev # for lxml $ git clone https://bitbucket.org/cedricbonhomme/pyaggr3g470r.git $ cd pyaggr3g470r - $ sudo apt-get install libxml2-dev libxslt1-dev $ sudo pip install --upgrade -r requirements.txt $ cp conf/conf.cfg-sample conf/conf.cfg diff --git a/vagrant/bootstrap.sh b/vagrant/bootstrap.sh index 2fb9c30d..38f3b689 100644 --- a/vagrant/bootstrap.sh +++ b/vagrant/bootstrap.sh @@ -2,7 +2,7 @@ apt-get update apt-get upgrade -apt-get install -y python libpq-dev python-dev python-pip git +apt-get install -y python libpq-dev python-dev python-pip build-essential git # Clone the source code of pyAggr3g470r git clone https://bitbucket.org/cedricbonhomme/pyaggr3g470r.git @@ -11,10 +11,15 @@ if [ $? -ne 0 ]; then exit 1; fi -# Install all requierements +# Install all Python requierements cd pyaggr3g470r +# For lxml: apt-get install -y libxml2-dev libxslt1-dev +# For scipy: +apt-get install -y libatlas-base-dev gfortran +# installation with pip sudo pip install --upgrade -r requirements.txt +# copy of the default configuration files for vagrant cp vagrant/conf.cfg-sample conf/conf.cfg cd .. -- cgit