aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWojciech Polak <polak@gnu.org>2013-04-09 17:34:22 +0200
committerWojciech Polak <polak@gnu.org>2013-04-09 17:34:22 +0200
commit7b1aa3e3ea9c0d3c643b39fc90e5504f93f0e019 (patch)
tree3b0f2f28ad72756f09004860ff8331aee82c8552
parent317e91945d67c9e7af30e45f898f17cd67fef86c (diff)
downloadglifestream-7b1aa3e3ea9c0d3c643b39fc90e5504f93f0e019.tar.gz
glifestream-7b1aa3e3ea9c0d3c643b39fc90e5504f93f0e019.tar.bz2
Update INSTALL.
-rw-r--r--INSTALL.md38
1 files changed, 19 insertions, 19 deletions
diff --git a/INSTALL.md b/INSTALL.md
index 1130478..3bc7fac 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -68,33 +68,34 @@ the following output:
0 errors found.
Django version 1.5.1, using settings 'glifestream.settings'
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"
-
- <Directory "/usr/local/django/glifestream/">
- <IfModule mod_deflate.c>
- AddOutputFilterByType DEFLATE application/javascript text/css text/html
- </IfModule>
- AllowOverride All
- Options None
- Order allow,deny
- Allow from all
- </Directory>
-`
+```
+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"
+
+<Directory "/usr/local/django/glifestream/">
+ <IfModule mod_deflate.c>
+ AddOutputFilterByType DEFLATE application/javascript text/css text/html
+ </IfModule>
+ AllowOverride All
+ Options None
+ Order allow,deny
+ Allow from all
+</Directory>
+```
More detailed information is available at:
http://code.google.com/p/modwsgi/wiki/IntegrationWithDjango
See https://docs.djangoproject.com/en/dev/howto/deployment/
for usual Django applications deployment.
@@ -104,13 +105,13 @@ The search functionality via Sphinx
===================================
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
sql_host = DATABASE_HOST
sql_user = DATABASE_USER
sql_pass = DATABASE_PASSWORD
@@ -135,14 +136,13 @@ index glifestream
source = glifestream
path = /usr/local/sphinx/var/data/glifestream
docinfo = extern
charset_type = utf-8
html_strip = 1
}
-...`
-
+```
Receive postings via e-mail
===========================
To allow for posts sent by e-mail, create a secret mail alias,
by extending `/etc/mail/aliases` file:

Return to:

Send suggestions and report system problems to the System administrator.