Show More
@@ -75,14 +75,14 b' Web server' | |||||
75 | ---------- |
|
75 | ---------- | |
76 |
|
76 | |||
77 | Kallithea is (primarily) a WSGI_ application that must be run from a web |
|
77 | Kallithea is (primarily) a WSGI_ application that must be run from a web | |
78 |
server that |
|
78 | server that serves WSGI applications over HTTP. | |
79 |
|
79 | |||
80 | - Kallithea uses the Paste_ tool for some admin tasks. Paste provides ``paste |
|
80 | - Kallithea uses the Paste_ tool for some admin tasks. Paste provides ``paster | |
81 | serve`` as a convenient way to launch Python WSGI / web servers. |
|
81 | serve`` as a convenient way to launch Python WSGI / web servers. | |
82 | This method is perfect for development but *can* also be used for production. |
|
82 | This method is perfect for development but *can* also be used for production. | |
83 |
|
83 | |||
84 | ``paste`` is a command line tool. Using it in production requires some way to |
|
84 | ``paster`` is a command line tool. Using it in production requires some way to | |
85 | wrap it as a managable service. |
|
85 | wrap it as a manageable service. | |
86 |
|
86 | |||
87 | Paste come with its own web server but Kallithea defaults to use Waitress_. |
|
87 | Paste come with its own web server but Kallithea defaults to use Waitress_. | |
88 | Gunicorn_ is also an option. These web servers have different limited feature |
|
88 | Gunicorn_ is also an option. These web servers have different limited feature | |
@@ -93,7 +93,7 b' server that expose WSGI as HTTP.' | |||||
93 | setup will thus often end up being quite complex. |
|
93 | setup will thus often end up being quite complex. | |
94 |
|
94 | |||
95 | The configuration of which web server to use is in the ini file passed to |
|
95 | The configuration of which web server to use is in the ini file passed to | |
96 | ``paste``. The entry point for the WSGI application is configured in |
|
96 | ``paster``. The entry point for the WSGI application is configured in | |
97 | ``setup.py`` as ``kallithea.config.middleware:make_app``. |
|
97 | ``setup.py`` as ``kallithea.config.middleware:make_app``. | |
98 |
|
98 | |||
99 | - `Apache httpd`_ can serve WSGI applications directly using mod_wsgi_ and a |
|
99 | - `Apache httpd`_ can serve WSGI applications directly using mod_wsgi_ and a |
@@ -28,7 +28,7 b' gunicorn_ (Linux only) can be used. By d' | |||||
28 | waitress_ for `paster serve` instead of the built-in `paste` WSGI |
|
28 | waitress_ for `paster serve` instead of the built-in `paste` WSGI | |
29 | server. |
|
29 | server. | |
30 |
|
30 | |||
31 |
The |
|
31 | The paster server is controlled in the .ini file:: | |
32 |
|
32 | |||
33 | use = egg:waitress#main |
|
33 | use = egg:waitress#main | |
34 |
|
34 |
General Comments 0
You need to be logged in to leave comments.
Login now