diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-11-28 18:36:40 +0100 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-11-28 18:36:40 +0100 |
commit | 5b4f09d554a396eeb25b9fdede3740164ad74e7d (patch) | |
tree | f677c3b55e93fbebfc159354d7ecd1bbdb73c0e2 | |
parent | heroku-buildpack-scipy (diff) | |
download | newspipe-5b4f09d554a396eeb25b9fdede3740164ad74e7d.tar.gz newspipe-5b4f09d554a396eeb25b9fdede3740164ad74e7d.tar.bz2 newspipe-5b4f09d554a396eeb25b9fdede3740164ad74e7d.zip |
Updated README.rst and vagrant bootstrap file.
-rw-r--r-- | README.rst | 5 | ||||
-rw-r--r-- | vagrant/bootstrap.sh | 9 |
2 files changed, 10 insertions, 4 deletions
@@ -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 ..
|