Skip to content

rendon/blog

Repository files navigation

Blog

After a while using WordPress and hating the lack of control I finally decided to create my own blogging software.

Who knows, maybe some day this software will be useful and others will be able to reuse it, but, at least for the time being, it's for me, just hacking and trying ideas.

Article format

I used to write my posts in ERB format, but it's too complicated for what I need (static pages). The new format is Markdown converted to ERB using pandoc.

Each article lives within the views/ folder with the following structure:

  • source.md
  • index.erb (Generated by pandoc)
  • pictures and other assets

How to run locally

Make sure you have rbenv installed.

export BLOG_PATH=<path to the repository>
cd $BLOG_PATH

gem install bundler
bundle install

unicorn -c unicorn.rb

The server will listen on port 8080: http://127.0.0.1:8080.

Run on a docker container

docker build -t blog .
docker run --rm --name myblog -p 8080:8080 -d blog

About

My own bloging software.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published