Linux, programming, etc.
Blohg is a blog engine written in Python.
For me it has this advantages:
I don't like to describe how to install something, but in gentoo it's just one command (Rafael G. Martins - author of blohg - is gentoo developer) (while I looked at his site, I saw many goodies, I'll try to get to know them and describe here):
$ emerge blohg
$ blohg initrepo --repo-path my_blohg
Set up settings in config.yaml, tune up templates (in templates directory).
After that, write posts (in content/post directory), create attachments (in content/attachments) and commit changes.
Clone repo to remote host:
$ hg clone my_blohg ssh://email@example.com/path/to/my_blohg/
I use lighttpd as web-server.
fastcgi.debug = 0 fastcgi.server = ("/" => ( "blohg" => ( "socket" => "/tmp/blohg-fcgi.sock", "bin-path" => "/var/www/blohg.fcgi", "check-local" => "disable", "fix-root-scriptname" => "enable" ) ) ) alias.url = ( "/static/" => "/var/www/blog/static" ) url.rewrite-once = ( "^(/static.*)$" => "$1", "^(/favicon.ico.*)$" => "/static$1", )
Contents of /var/www/blohg.fcgi (python module flup is needed):
#!/usr/bin/python from flup.server.fcgi import WSGIServer from blohg import create_app if __name__ == '__main__': application = create_app('/path/to/my_blohg') WSGIServer(application).run()
UPD: Done, changeset.
UPD2: Done properly. There is standard way to define custom roles which only adds class to <span> tag:
.. role:: strikeout :class: strikeout
Or you can add a block to container with strikeout class:
.. container:: :class: strikeout
Looked at rst-resume, I want to publish my resume at this site.
This work is licensed under a Creative Commons Attribution 3.0 Unported License.