aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.rst5
-rw-r--r--vagrant/bootstrap.sh9
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 ..
bgstack15