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:
parent
6de68b137d
commit
19def747b4
1 changed files with 6 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue