My blog is hosted on GitHub as GitHub Pages service. This service automatically reacts on changes in this repository main branch, which is master, and hosts its content.
But my entries are written in rsT and then compiled to HTML. I keep them in blog_content branch, which also contains my theme and some settings files.
Requirements:
- Acrylamid for blog software
- Docutils for rsT format parsing
- ghp import for deploying to master_ branch
- Pygments for colorized code output
$ git clone ...
# create a virtual environment and activate it...
$ cd ...
$ git checkout blog_content
$ pip install -r requirements.txt
$ acrylamid compile
In order to work on the blog, use this command:
$ acrylamid autocompile
Acrylamid also supports indexing and searching, but I don't use this feature at all.
To clean all the mess:
$ acrylamid deploy clean
To deploy your changes:
$ acrylamid compile
$ acrylamid deploy
Blog content is licensed under CC BY-SA 3.0 license. It allows you to copy, distribute and transmit my work, adapt it and make commercial use out of it if you assert that I was the original author and your mix has the same or similar license.
Code examples published via this blog are public domain.
My theme is copyrighted by me, Piotr Banaszkiewicz.