mirror of
https://github.com/YunoHost-Apps/searx_ynh.git
synced 2024-09-03 20:16:30 +02:00
Update install
This commit is contained in:
parent
e46864d9ed
commit
789fc5948d
1 changed files with 2 additions and 2 deletions
|
@ -24,8 +24,8 @@ sudo virtualenv /opt/searx
|
||||||
sudo bash -c "source /opt/searx/bin/activate && pip install -r /opt/searx/requirements.txt"
|
sudo bash -c "source /opt/searx/bin/activate && pip install -r /opt/searx/requirements.txt"
|
||||||
|
|
||||||
#Configuration Searx
|
#Configuration Searx
|
||||||
sudo cp ../conf/settings.yml /opt/searx/
|
sudo cp ../conf/settings.yml /opt/searx/searx/
|
||||||
sudo sed -i "s@CHANGEPATH@$path@g" /opt/searx/settings.yml
|
sudo sed -i -e "s/ultrasecretkey/`openssl rand -hex 16`/g" /opt/searx/searx/settings.yml
|
||||||
|
|
||||||
# Set permissions to searx directory
|
# Set permissions to searx directory
|
||||||
#sudo chown -R www-data. /opt/searx/
|
#sudo chown -R www-data. /opt/searx/
|
||||||
|
|
Loading…
Add table
Reference in a new issue