Skip to content

lkeneco/sinatra-blog

 
 

Repository files navigation

Sinatra Example Blog

This is a good example of structuring a Sinatra app. Feel free to clone it, browse the source, customize it and use it as your own blog.

Good examples of the following:

  • Using Sinatra routes as middleware
  • GZip and caching
  • RSS feed of posts
  • Sprockets and asset management
  • Markdown and Erb
  • Unicorn and Heroku
  • Stylus

Demo here http://sinatra-example-blog.herokuapp.com

Running

bundle install
thin start

Heroku 123

git clone [email protected]:maccman/sinatra-blog.git
cd sinatra-blog

heroku create myblog
heroku labs:enable user-env-compile
heroku addons:add memcachier:dev

git push heroku master

About

A example Sinatra blog

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 53.7%
  • CSS 33.0%
  • HTML 13.3%