|
|
11 年之前 | |
|---|---|---|
| examples | 12 年之前 | |
| searx | 11 年之前 | |
| .gitignore | 11 年之前 | |
| LICENSE | 12 年之前 | |
| Makefile | 11 年之前 | |
| README.md | 11 年之前 | |
| base.cfg | 11 年之前 | |
| bootstrap.py | 11 年之前 | |
| buildout.cfg | 11 年之前 | |
| engines.cfg_sample | 11 年之前 | |
| minimal.cfg | 11 年之前 | |
| production.cfg | 11 年之前 | |
| requirements.txt | 12 年之前 | |
| setup.py | 11 年之前 | |
| versions.cfg | 11 年之前 |
A privacy-respecting, hackable metasearch engine.
List of running instances.
curl https://searx.0x2a.tk/?format=json&q=[query]curl https://searx.0x2a.tk/?format=csv&q=[query]curl https://searx.0x2a.tk/?format=rss&q=[query]git clone git@github.com:asciimoo/searx.git && cd searxpip install -r requirements.txtsecret_key!)engines.cfg_sample to engines.cfgpython searx/webapp.py to start the applicationFor all the details, follow this step by step installation
git clone git@github.com:asciimoo/searx.git && cd searxmake minimalbin/searx-run to start the applicationJust 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
git clone git@github.com:asciimoo/searx.git && cd searxmake productionbin/supervisord to start the applicationgit stash to temporarily save any changes you have madegit pull origin mastermake productionbin/supervisorctl stop searx to stop searx, if it does not, then run fuser -k 8888/tcpbin/supervisorctl reload to re-read supervisor config and start searxmakeBuilds development environment with testing support.
make testsRuns tests. You can write tests here and remember 'untested code is broken code'.
make robotRuns robot (Selenium) tests, you must have firefox installed because this functional tests actually run the browser and perform operations on it. Also searx is executed with settings_robot.
make flake8'pep8 is a tool to check your Python code against some of the style conventions in PEP 8.'
make coverageChecks coverage of tests, after running this, execute this: firefox ./coverage/index.html
make productionUsed 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.
make minimalMinimal build - without test frameworks, the quickest build option.
make cleanDeletes several folders and files (see Makefile for more), so that next time you run any other make command it will rebuild everithing.
flake8 errors, make flake8 will be merged into make tests when it does not fail anymoreBugs or suggestions? Visit the issue tracker.