Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
31 lines (17 sloc) 640 Bytes

sinatra git blog

This is a simple blog host written with Sinatra.

Markdown articles are placed in /articles for publication.

To run

rackup -p 4567

or, say:

rackup -E production -D -s thin


A git post-receive hook is included that will update the published articles on the server when article updates have been pushed (providing RACK_ENV == 'production'). The hook responds to a POST to /update.

So, a simple hook script could be:

#!/usr/bin/env ruby
require 'rest-client' '', ''



Something went wrong with that request. Please try again.