1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/searx_ynh.git synced 2024-09-03 20:16:30 +02:00

add cp sources

This commit is contained in:
root 2014-05-10 09:58:58 +00:00
parent 6de68b137d
commit 19def747b4

View file

@ -15,7 +15,12 @@ fi
sudo apt-get install git build-essential libxslt-dev python-dev python-virtualenv python-pybabel zlib1g-dev sudo apt-get install git build-essential libxslt-dev python-dev python-virtualenv python-pybabel zlib1g-dev
# Init virtualenv # Init virtualenv
sudo virtualenv /searx if [ ! -d /opt/searx ];
then
mkdir /opt/searx
fi
cp sources/* /opt/searx
sudo virtualenv /opt/searx
sudo bash -c "source /opt/searx/bin/activate && pip install -r requirements.txt" sudo bash -c "source /opt/searx/bin/activate && pip install -r requirements.txt"
#Configuration Searx #Configuration Searx