Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
remake of boostrap hero example using sinatra, haml, and bootstrap
branch: master

This branch is 8 commits behind ghostandthemachine:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
config
public
views
.gitignore
Gemfile
Gemfile.lock
README.md
Rakefile
app.rb
config.bac
config.ru

README.md

Sinatra, Haml and Bootstrap kick ass so I wanted to make a bare bones project to start from which would get the setup hassle out of the way. I thought remaking the example projects would be a good way to get comfortable with Bootstrap and this arangement. Here you can find the Sinatra + Haml + Bootstrap version of the following layout examples:

Setup

All of the example projects and the bare bones project are set up with:

  • Bundler
  • Shotgun
  • Rack
  • Haml
  • Vlad the Deployer

To get up and running all that should be needed is to install the Ruby gem Bundler if up don't already have it installed then run:

$ bundle install

That should install everything that is need for the app to run. To start it run:

$ shotgun

As is the case with any Shotgun app, you can update the config.ru file to change Shotgun settings. Likewise /config/deploy.rb for the Vlad settings, and Gemfile for your bundler install settings

enjoy!

Something went wrong with that request. Please try again.