Commit 7dd3b211 authored by Administrator's avatar Administrator

[ADMIN] python env instructions.

parent 079bc444
#!/bin/dash #!/bin/dash
# TODO do apt-get install --force-yes # TODO do apt-get install --force-yes --force-yes
apt-get install postgresql apt-get install --force-yes postgresql
apt-get install postgresql-contrib apt-get install --force-yes postgresql-contrib
apt-get install rabbitmq-server apt-get install --force-yes rabbitmq-server
apt-get install tmux apt-get install --force-yes tmux
apt-get install python3.4-venv apt-get install --force-yes python3.4-venv
#apt-get install python-virtualenv #apt-get install --force-yes python-virtualenv
apt-get install libpng12-dev apt-get install --force-yes libpng12-dev
apt-get install libpng-dev apt-get install --force-yes libpng-dev
apt-get install libfreetype6-dev apt-get install --force-yes libfreetype6-dev
apt-get install python-dev apt-get install --force-yes python-dev
apt-get install libpq-dev apt-get install --force-yes libpq-dev
apt-get install libpq-dev apt-get install --force-yes libpq-dev
apt-get build-dep python-matplotlib #apt-get build-dep python-matplotlib
apt-get install python-matplotlib #apt-get install --force-yes python-matplotlib
#Paquets Debian a installer #Paquets Debian a installer
# easy_install -U distribute (matplotlib) # easy_install --force-yes -U distribute (matplotlib)
#lxml #lxml
apt-get install libffi-dev apt-get install --force-yes libffi-dev
apt-get install libxml2-dev apt-get install --force-yes libxml2-dev
apt-get install libxslt1-dev apt-get install --force-yes libxslt1-dev
# ipython readline # ipython readline
apt-get install libncurses5-dev apt-get install --force-yes libncurses5-dev
apt-get install pandoc apt-get install --force-yes pandoc
# scipy: # scipy:
apt-get install gfortran apt-get install --force-yes gfortran
apt-get install libopenblas-dev apt-get install --force-yes libopenblas-dev
apt-get install liblapack-dev apt-get install --force-yes liblapack-dev
#nlpserver #nlpserver
apt-get install libgflags-dev apt-get install --force-yes libgflags-dev
aptitude install libgoogle-glog-dev aptitude install --force-yes libgoogle-glog-dev
# MElt # MElt
# soon # soon
...@@ -47,10 +47,10 @@ aptitude install libgoogle-glog-dev ...@@ -47,10 +47,10 @@ aptitude install libgoogle-glog-dev
## SERVER Configuration ## SERVER Configuration
# server configuration # server configuration
apt-get install nginx apt-get install --force-yes nginx
# UWSGI with pcre support # UWSGI with pcre support
apt-get install libpcre3 libpcre3-dev apt-get install --force-yes libpcre3 libpcre3-dev
apt-get install python3-pip apt-get install --force-yes python3-pip
pip3 install uwsgi pip3 install --force-yes uwsgi
#!/bin/dash #!/bin/dash
sudo mkdir /srv/gargantext_env mkdir /srv/gargantext_env
sudo chown gargantua:www-data /srv/gargantext_env chown -R gargantua:www-data /srv/gargantext_env
su gargantua
pyvenv3 /srv/gargantext_env pyvenv3 /srv/gargantext_env
......
...@@ -38,7 +38,7 @@ graphviz==0.4 ...@@ -38,7 +38,7 @@ graphviz==0.4
ipython==2.2.0 ipython==2.2.0
kombu==3.0.24 kombu==3.0.24
lxml==3.4.1 lxml==3.4.1
matplotlib==1.4.0 #matplotlib==1.4.0
networkx==1.9 networkx==1.9
#nltk==3.0a4 #nltk==3.0a4
nose==1.3.4 nose==1.3.4
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment