|
@@ -22,7 +22,7 @@ References:
|
22
|
22
|
|
23
|
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
|
24
|
Server side setup:
|
25
|
|
-* Clone or create the git repo for your blog.
|
|
25
|
+* Setup git and create a bare repo as shown [here](http://git-scm.com/book/en/Git-on-the-Server-Setting-Up-the-Server).
|
26
|
26
|
* Install Lisp and Quicklisp.
|
27
|
27
|
* For now, git clone https://github.com/redline6561/coleslaw.git and add
|
28
|
28
|
(push "/path/to/coleslaw/" asdf:*central-registry*) to your lisp's init file. (e.g. ~/.sbclrc for SBCL)
|
|
@@ -32,6 +32,7 @@ Server side setup:
|
32
|
32
|
* Edit your-blog/.git/hooks/post-receieve and insert:
|
33
|
33
|
sbcl --eval "(progn (ql:quickload :coleslaw) (coleslaw:main) (sb-ext:quit))" # or (sb-ext:exit) on SBCL >= 1.0.57
|
34
|
34
|
* chmod +x your-blog/.git/hooks/post-receive
|
|
35
|
+* Create or clone your blog repo locally. And add your server as a remote with git remote add prod git@my-host.com:/absolute/path/to/repo.git
|
35
|
36
|
Now whenever you push a new commit to the server, coleslaw will update your blog automatically!
|
36
|
37
|
The only thing left to do is point a web server of your choice at the symlink /path/to/coleslaw/.curr
|
37
|
38
|
|