Flexible Lisp Blogware. Fork for personal use. Mirrored from https://github.com/kingcons/coleslaw originally.

README 1.7KB

    <p>Coleslaw aims to be flexible blog software suitable for replacing a single-user static site compiler such as Jekyll.</p> <p>Full docs coming soon...</p> <p>Features:</p> <ul> <li>Git for storage</li> <li>RSS feeds!</li> <li>Plugins to... ** Import from wordpress ** Use Mathjax/LaTeX</li> </ul> <p>Forthcoming:</p> <ul> <li>Markdown support</li> <li>RST support</li> <li>Host on Amazon S3</li> <li>Code highlighting</li> </ul> <p>References: -- Jekyll -- Hakyll -- Hyde</p> <p>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. Server side setup:</p> <ul> <li>Setup git and create a bare repo as shown <a href="http://git-scm.com/book/en/Git-on-the-Server-Setting-Up-the-Server" rel="nofollow">here</a>.</li> <li>Install Lisp and Quicklisp.</li> <li>For now, git clone <a href="https://github.com/redline6561/coleslaw.git" rel="nofollow">https://github.com/redline6561/coleslaw.git</a> and add (push &#34;/path/to/coleslaw/&#34; asdf:<em>central-registry</em>) to your lisp&#39;s init file. (e.g. ~/.sbclrc for SBCL) -- You may need to (require &#39;asdf) in that file first or even create it! (Don&#39;t panic.) This is only temporarily necessary until coleslaw is in quicklisp.</li> <li>cp coleslaw/example.coleslawrc ~/.coleslawrc # and edit as necessary for your repo location, deploy location, etc</li> <li>Edit your-blog/.git/hooks/post-receieve and insert: sbcl --eval &#34;(progn (ql:quickload :coleslaw) (coleslaw:main) (sb-ext:quit))&#34; # or (sb-ext:exit) on SBCL &gt;= 1.0.57</li> <li>chmod +x your-blog/.git/hooks/post-receive</li> <li>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 Now whenever you push a new commit to the server, coleslaw will update your blog automatically! The only thing left to do is point a web server of your choice at the symlink /path/to/coleslaw/.curr</li> </ul>