constance

Scripts for generating (an earlier obsolete version of) my personal web site
git clone https://code.djc.id.au/git/constance/

README (520B) - raw

      1 Dependencies
      2 ------------
      3 
      4 python-2.6
      5 genshi-0.6
      6 pyyaml
      7 lxml
      8 mysql-python (for export_wp.py)
      9 
     10 Initial config
     11 --------------
     12 
     13 1. cp constance.conf.sample ~/.constance.conf
     14 2. Edit ~/.constance.conf -- ensure you update the root directory or your 
     15    working directory will be used!
     16 3. mkdir ROOT/{blog,tags}
     17 4. Edit your XSLT stylesheet
     18 5. Copy or symlink htaccess to ROOT/.htaccess
     19 
     20 Running constance
     21 -----------------
     22 
     23 1. Place entries in the `blog` subdirectory as YAML-formatted .txt files
     24 2. Run python constance.py