From 7b1aa3e3ea9c0d3c643b39fc90e5504f93f0e019 Mon Sep 17 00:00:00 2001 From: Wojciech Polak Date: Tue, 9 Apr 2013 17:34:22 +0200 Subject: Update INSTALL. --- INSTALL.md | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index 1130478..3bc7fac 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -71,27 +71,28 @@ the following output: Development server is running at http://127.0.0.1:8000/ Quit the server with CONTROL-C. + Production server with mod_wsgi ------------------------------- Apache configuration: -` - LoadModule wsgi_module modules/mod_wsgi.so - WSGIScriptAlias / /usr/local/django/glifestream/wsgi.py - Alias /static "/usr/local/django/glifestream/static" - Alias /admin_static "/usr/local/django/contrib/admin/media" - - - - AddOutputFilterByType DEFLATE application/javascript text/css text/html - - AllowOverride All - Options None - Order allow,deny - Allow from all - -` +``` +LoadModule wsgi_module modules/mod_wsgi.so +WSGIScriptAlias / /usr/local/django/glifestream/wsgi.py +Alias /static "/usr/local/django/glifestream/static" +Alias /admin_static "/usr/local/django/contrib/admin/media" + + + + AddOutputFilterByType DEFLATE application/javascript text/css text/html + + AllowOverride All + Options None + Order allow,deny + Allow from all + +``` More detailed information is available at: http://code.google.com/p/modwsgi/wiki/IntegrationWithDjango @@ -107,7 +108,7 @@ To use the search functionality in GLS via Sphinx, you must add the following configuration to your `etc/sphinx.conf` (replace the `DATABASE_*` values with the proper ones from your `settings.py`): -`... +``` source glifestream { type = mysql @@ -138,8 +139,7 @@ index glifestream charset_type = utf-8 html_strip = 1 } -...` - +``` Receive postings via e-mail =========================== -- cgit v1.2.1