From 8b80c4fbe783d4f381c3c9334c3e41d555d5a2ab Mon Sep 17 00:00:00 2001 From: hnhx Date: Wed, 27 Apr 2022 21:10:39 +0200 Subject: [PATCH] renamed config.php to config.php.example, updated readme --- README.md | 4 ++++ config.php => config.php.example | 0 librex_updater.service | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) rename config.php => config.php.example (100%) diff --git a/README.md b/README.md index 7ab0b7b..b2043bf 100644 --- a/README.md +++ b/README.md @@ -45,6 +45,10 @@ If you want to host it just for yourself a PHP development server should be enou ``` git clone https://github.com/hnhx/librex.git cd librex +mv config.php.example config.php +sed -i 's/http:\/\/localhost/https:\/\/your.domain/g' opensearch.xml +cp librex_updater.service /etc/systemd/system/ # edit the service file first +systemctl enable --now librex_updater sudo php -S 127.0.0.1:80 ```
diff --git a/config.php b/config.php.example similarity index 100% rename from config.php rename to config.php.example diff --git a/librex_updater.service b/librex_updater.service index d6084d3..50196f1 100644 --- a/librex_updater.service +++ b/librex_updater.service @@ -1,5 +1,5 @@ [Unit] -Description=LibreX - A privacy respecting free as in freedom meta search enginei +Description=LibreX - A privacy respecting free as in freedom meta search engine After=syslog.target After=network.target