@@ -7,6 +7,7 @@ List of [running instances](https://github.com/asciimoo/searx/wiki/Searx-instanc
8[](https://flattr.com/submit/auto?user_id=asciimoo&url=https://github.com/asciimoo/searx&title=searx&language=&tags=github&category=software)
8[](https://flattr.com/submit/auto?user_id=asciimoo&url=https://github.com/asciimoo/searx&title=searx&language=&tags=github&category=software)
10### Features
11### Features
12* Tracking free
13* Tracking free
@@ -19,6 +20,7 @@ List of [running instances](https://github.com/asciimoo/searx/wiki/Searx-instanc
19* Opensearch support (you can set as default search engine)
20* Opensearch support (you can set as default search engine)
20* Configurable search engines/categories
21* Configurable search engines/categories
22### Installation
24### Installation
24* clone source: `git clone git@github.com:asciimoo/searx.git && cd searx`
26* clone source: `git clone git@github.com:asciimoo/searx.git && cd searx`
@@ -29,6 +31,7 @@ List of [running instances](https://github.com/asciimoo/searx/wiki/Searx-instanc
30For all the details, follow this [step by step installation](https://github.com/asciimoo/searx/wiki/Installation)
32For all the details, follow this [step by step installation](https://github.com/asciimoo/searx/wiki/Installation)
32### Alternative (Recommended) Installation
35### Alternative (Recommended) Installation
34* clone source: `git clone git@github.com:asciimoo/searx.git && cd searx`
37* clone source: `git clone git@github.com:asciimoo/searx.git && cd searx`
@@ -38,9 +41,26 @@ For all the details, follow this [step by step installation](https://github.com/
39### Development
42### Development
41−Just run `make`. Versions of dependencies are pinned down inside `versions.cfg` to produce most stable build.
44+Just run `make`. Versions of dependencies are pinned down inside `versions.cfg` to produce most stable build. Also remember, NO make command should be run as root, not even `make production`
49+* clone source: `git clone git@github.com:asciimoo/searx.git && cd searx`
50+* build in current folder: `make production`
51+* run `bin/supervisord` to start the application
56+* inside previously cloned searx directory run: `git stash` to temporarily save any changes you have made
57+* pull source: `git pull origin master`
58+* re-build in current folder: `make production`
59+* run `bin/supervisorctl stop searx` to stop searx, if it does not, then run `fuser -k 8888/tcp`
60+* run `bin/supervisorctl reload` to re-read supervisor config and start searx
43−#### Command make
63+### Command make
45##### `make`
65##### `make`
@@ -62,9 +82,13 @@ Runs robot (Selenium) tests, you must have `firefox` installed because this func
63Checks coverage of tests, after running this, execute this: `firefox ./coverage/index.html`
83Checks coverage of tests, after running this, execute this: `firefox ./coverage/index.html`
85+##### `make production`
87+Used to make co-called production environment - without tests (you should ran tests before deploying searx on the server). This installs supervisord, so if searx crashes, it will try to pick itself up again. And crontab entry is added to start supervisord at server boot.
65##### `make minimal`
89##### `make minimal`
67−Used to make co-called production environment - without tests (you should ran tests before deploying searx on the server).
91+Minimal build - without test frameworks, the quickest build option.
69##### `make clean`
93##### `make clean`