[Python-apps-commits] r2210 - in packages/zine/trunk/debian (README.Debian)

mitsuhiko-guest at users.alioth.debian.org mitsuhiko-guest at users.alioth.debian.org
Sun Jan 11 20:58:04 UTC 2009


    Date: Sunday, January 11, 2009 @ 20:58:04
  Author: mitsuhiko-guest
Revision: 2210

Updated readme file to use rst syntax like the rest of the Zine documentation.

Modified:
  packages/zine/trunk/debian/README.Debian

Modified: packages/zine/trunk/debian/README.Debian
===================================================================
--- packages/zine/trunk/debian/README.Debian	2009-01-11 20:20:29 UTC (rev 2209)
+++ packages/zine/trunk/debian/README.Debian	2009-01-11 20:58:04 UTC (rev 2210)
@@ -1,31 +1,45 @@
 HOWTO set up Zine using mod_wsgi:
 =================================
 
-install mod_wsgi and Flup if you don't have it already
- $ apt-get install libapache2-mod-wsgi python-flup
+install mod_wsgi and Flup if you don't have it already::
 
-create directory where Zine will keep its data:
- $ mkdir /var/lib/zine/myblog
- $ chown www-data /var/lib/zine/myblog
+    $ apt-get install libapache2-mod-wsgi python-flup
 
-copy WSGI script:
- $ cp /usr/share/zine/servers/zine.wsgi /var/lib/zine/myblog/
+create directory where Zine will keep its data::
 
-set the INSTANCE_FOLDER to newly created /var/lib/zine/myblog:
- $ sed -i -e "s,INSTANCE_FOLDER = '/path/to/instance/folder',INSTANCE_FOLDER = '/var/lib/zine/myblog'," /var/lib/zine/myblog/zine.wsgi
+    $ mkdir /var/lib/zine/myblog
+    $ chown www-data /var/lib/zine/myblog
 
-if you want to serve your blog under new domain:
- $ cp /usr/share/doc/zine/examples/apache_domain.conf /etc/apache2/sites-available/myblog.mydomain.com
-edit new file, update paths and domain name
- $ a2ensite myblog.mydomain.com
+copy WSGI script::
 
-... or if you prefer to have it in a directory:
-add "WSGIScriptAlias /myblog /var/lib/zine/myblog/zine.wsgi" to your site's config file, or:
- $ cp /usr/share/doc/zine/examples/apache_directory.conf /etc/apache2/conf.d/zine_myblog # remember to edit new file
+    $ cp /usr/share/zine/servers/zine.wsgi /var/lib/zine/myblog/
 
-reload Apache
- $ /etc/init.d/apache2 reload
+set the INSTANCE_FOLDER to newly created /var/lib/zine/myblog::
 
+    $ sed -i -e "s,INSTANCE_FOLDER = '/path/to/instance/folder',\
+       INSTANCE_FOLDER = '/var/lib/zine/myblog',\
+       " /var/lib/zine/myblog/zine.wsgi
+
+if you want to serve your blog under new domain::
+
+    $ cp /usr/share/doc/zine/examples/apache_domain.conf \
+    /etc/apache2/sites-available/myblog.mydomain.com
+
+edit new file, update paths and domain name:
+
+    $ a2ensite myblog.mydomain.com
+
+... or if you prefer to have it in a directory add
+"WSGIScriptAlias /myblog /var/lib/zine/myblog/zine.wsgi" to your site's
+config file, or execute this command:
+
+    $ cp /usr/share/doc/zine/examples/apache_directory.conf \
+    /etc/apache2/conf.d/zine_myblog # remember to edit new file
+
+reload Apache::
+
+    $ /etc/init.d/apache2 reload
+
 open in your browser http://myblog.mydomain.com/
 follow instructions. If you don't want to use PostreSQL or MySQL,
 enter "sqlite://database.db" when asked about database




More information about the Python-apps-commits mailing list