Fix install script

This commit is contained in:
Raphaël Vinot 2016-07-25 11:49:29 +02:00
parent 5f30eef1ec
commit 5d4a02e706

View file

@ -17,10 +17,6 @@ sudo apt-get install libadns1 libadns1-dev
#Needed for redis-lvlDB #Needed for redis-lvlDB
sudo apt-get install libev-dev libgmp-dev sudo apt-get install libev-dev libgmp-dev
#needed for mathplotlib
test ! -L /usr/include/ft2build.h && sudo ln -s freetype2/ft2build.h /usr/include/
sudo easy_install -U distribute
# REDIS # # REDIS #
test ! -d redis/ && git clone https://github.com/antirez/redis.git test ! -d redis/ && git clone https://github.com/antirez/redis.git
pushd redis/ pushd redis/
@ -51,9 +47,6 @@ if [ ! -f bin/packages/config.cfg ]; then
cp bin/packages/config.cfg.sample bin/packages/config.cfg cp bin/packages/config.cfg.sample bin/packages/config.cfg
fi fi
mkdir -p $AIL_HOME/{PASTES,Blooms,dumps}
mkdir -p $AIL_HOME/LEVEL_DB_DATA/2016
pushd var/www/ pushd var/www/
./update_thirdparty.sh ./update_thirdparty.sh
popd popd
@ -72,6 +65,9 @@ if [ -z "$VIRTUAL_ENV" ]; then
fi fi
mkdir -p $AIL_HOME/{PASTES,Blooms,dumps}
mkdir -p $AIL_HOME/LEVEL_DB_DATA/2016
pip install -U pip pip install -U pip
pip install -U -r pip_packages_requirement.txt pip install -U -r pip_packages_requirement.txt