Skip to content

ghostandthemachine/sinatra-haml-bootstrap-hero

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

[Sinatra] 5, 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] 1:

  • [Starter] 2
  • [Hero] 3 (current repository)
  • [Fluid] 4

##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!