You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ Instructions:
11
11
1. Run `sh setup/virtualenv-setup.sh` to setup an isolated environment and download core packages.
12
12
1. Configure settings. The defaults in [`settings.py`](settings.py) provide documentation for each setting.
13
13
- Copy [`example.local_settings.yml`](example.local_settings.yml) to `local_settings.yml`.
14
-
- Override/copy any setting from [`settings.py`](settings.py) to `local_settings.yml` (change the values as needed). All YAML keys/options must be lowercase.
14
+
- Override/copy any setting from [`settings.py`](settings.py) to `local_settings.yml` (change the values as needed). All YAML keys/options **must** be lowercase.
15
15
1. Run `source sherlock_env/bin/activate` to enter the virtual environment.
16
16
1. Run `python main.py --index update` or `--index rebuild` to index the path specified in the settings. Watch indexing output.
17
17
1. Run `python main.py --runserver` to start the web server.
@@ -36,9 +36,9 @@ Includes:
36
36
- End-to-end interface
37
37
- Indexing and searching text (source code). Built-in support for [whoosh](https://whoosh.readthedocs.io) (fast searching) or [xapian](http://xapian.org/) (much faster searching).
38
38
- Easily extend indexing or searching via custom backends.
39
-
- Front end web app served using [werkzeug](http://werkzeug.pocoo.org/) or [cherrypy](http://www.cherrypy.org/).
39
+
- Front end web app served using [werkzeug](http://werkzeug.pocoo.org/) or [cheroot](https://cheroot.cherrypy.org).
40
40
- `werkzeug` is for development to small traffic.
41
-
- `cherrypy` is a high-speed, production ready, thread pooled, generic HTTP server.
41
+
- `cheroot` is the high-performance, pure-Python HTTP server used by [CherryPy](https://www.cherrypy.org).
42
42
- Settings and configuration using [Python](http://python.org).
43
43
44
44
### Web Interface
@@ -65,18 +65,18 @@ In [`settings.py`](settings.py):
65
65
66
66
## Using other web servers
67
67
68
-
Text Sherlock has built-in support for [werkzeug](http://werkzeug.pocoo.org/) and [cherrypy](http://www.cherrypy.org/) WSGI compliant servers.
68
+
Text Sherlock has built-in support for [werkzeug](http://werkzeug.pocoo.org/) and [cheroot](https://cheroot.cherrypy.org) WSGI compliant servers.
69
69
70
70
In [`settings.py`](settings.py):
71
71
72
72
- Change the `server_type` value to one of the available server types.
0 commit comments