Skip to content

Instantly share code, notes, and snippets.

@Avasz
Created December 31, 2016 01:23
Show Gist options
  • Save Avasz/16cf1edc909212e57e082e6da7745208 to your computer and use it in GitHub Desktop.
Save Avasz/16cf1edc909212e57e082e6da7745208 to your computer and use it in GitHub Desktop.
#!/bin/sh
#Script for searx
sed -i "s|base_url : False|base_url : $BASE_URL|g" searx/settings.yml
sed -i "s/image_proxy : False/image_proxy : $IMAGE_PROXY/g" searx/settings.yml
sed -i "s/ultrasecretkey/`openssl rand -hex 16`/g" searx/settings.yml
python searx/webapp.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment