constance

Scripts for generating (an earlier obsolete version of) my personal web site
git clone https://code.djc.id.au/git/constance/
commit 10c78d5dc775fb435225453527effcbe992c7c5a
parent 019cea9dc0256eb820cb9df21ca6cb757b97fe91
Author: Sam Kingston <sam@sjkwi.com.au>
Date:   Mon, 11 Oct 2010 14:32:17 +1000

instructions on setting up and running constance

Diffstat:
MREADME | 16++++++++++++++++
1 file changed, 16 insertions(+), 0 deletions(-)
diff --git a/README b/README
@@ -6,3 +6,19 @@ genshi-0.6
 pyyaml
 lxml
 mysql-python (for export_wp.py)
+
+Initial config
+--------------
+
+1. python constance.py --dump-default-config > ~/.constance
+2. Edit ~/.constance - ensure you update the root directory or your working
+   directory will be used!
+3. mkdir ROOT/{blog,tags}
+4. Edit your XSLT stylesheet
+5. Copy or symlink htaccess to ROOT/.htaccess
+
+Running constance
+-----------------
+
+1. Place entries in the `blog` subdirectory as YAML-formatted .txt files
+2. Run python constance.py