Browse Source

renamed config.php to config.php.example, updated readme

hnhx 3 years ago
parent
commit
8b80c4fbe7
3 changed files with 5 additions and 1 deletions
  1. 4 0
      README.md
  2. 0 0
      config.php.example
  3. 1 1
      librex_updater.service

+ 4 - 0
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
 ```
 <br/>

+ 0 - 0
config.php → config.php.example


+ 1 - 1
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