|
@@ -20,3 +20,19 @@ References:
|
20
|
20
|
-- Hakyll
|
21
|
21
|
-- Hyde
|
22
|
22
|
|
|
23
|
+This software should be portable to any conforming Common Lisp implementation but this guide will assume SBCL is installed. Testing has also been done on CCL.
|
|
24
|
+Server side setup:
|
|
25
|
+* Clone or create the git repo for your blog.
|
|
26
|
+* Install Lisp and Quicklisp.
|
|
27
|
+* For now, git clone https://github.com/redline6561/coleslaw.git and add
|
|
28
|
+ (push "/path/to/coleslaw/" asdf:*central-registry*) to your lisp's init file. (e.g. ~/.sbclrc for SBCL)
|
|
29
|
+ -- You may need to (require 'asdf) in that file first or even create it! (Don't panic.)
|
|
30
|
+ This is only temporarily necessary until coleslaw is in quicklisp.
|
|
31
|
+* cp coleslaw/example.coleslawrc ~/.coleslawrc # and edit as necessary for your repo location, etc
|
|
32
|
+* Edit your-blog/.git/hooks/post-receieve and insert:
|
|
33
|
+#!/bin/sh
|
|
34
|
+sbcl --eval "(progn (ql:quickload :coleslaw) (coleslaw:main) (sb-ext:quit))" # or (sb-ext:exit) on SBCL >= 1.0.57
|
|
35
|
+* chmod +x your-blog/.git/hooks/post-receive
|
|
36
|
+Now whenever you push a new commit to the server, coleslaw will update your blog automatically!
|
|
37
|
+The only thing left to do is point a web server of your choice at the symlink /path/to/coleslaw/.curr
|
|
38
|
+
|