@@ -7,6 +7,7 @@ List of [running instances](https://github.com/asciimoo/searx/wiki/Searx-instanc
77
88[](https://flattr.com/submit/auto?user_id=asciimoo&url=https://github.com/asciimoo/searx&title=searx&language=&tags=github&category=software)
99
10+
1011### Features
1112
1213* Tracking free
@@ -19,6 +20,7 @@ List of [running instances](https://github.com/asciimoo/searx/wiki/Searx-instanc
1920* Opensearch support (you can set as default search engine)
2021* Configurable search engines/categories
2122
23+
2224### Installation
2325
2426* 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
2931
3032For all the details, follow this [step by step installation](https://github.com/asciimoo/searx/wiki/Installation)
3133
34+
3235### Alternative (Recommended) Installation
3336
3437* 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/
3841
3942### Development
4043
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`
45+
46+
47+### Deployment
48+
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
4252
43−#### Command make
53+
54+### Upgrading
55+
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
61+
62+
63+### Command make
4464
4565##### `make`
4666
@@ -62,9 +82,13 @@ Runs robot (Selenium) tests, you must have `firefox` installed because this func
6282
6383Checks coverage of tests, after running this, execute this: `firefox ./coverage/index.html`
6484
85+##### `make production`
86+
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.
88+
6589##### `make minimal`
6690
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.
6892
6993##### `make clean`
7094