Minimal Sinatra app with bootstrap
git clone http://github.com/supm4n/sinatra.git newProject
cd newProject
bundle install
In a terminal window, start shotgun to automatically reload the webserver when needed
shotgun config.ru
In another terminal window, start compass daemon to automatically compile sass files
compass watch
Enjoy !
├── Gemfile
├── Gemfile.lock
├── README.md
├── Rakefile
├── app.rb
├── config.rb
├── config.ru
├── helpers.rb
├── public
│ ├── css
│ │ ├── bootstrap-responsive.min.css
│ │ ├── bootstrap.min.css
│ │ └── style.css
│ ├── fonts
│ ├── img
│ │ ├── glyphicons-halflings-white.png
│ │ └── glyphicons-halflings.png
│ ├── js
│ │ ├── angular.min.js
│ │ ├── app.js
│ │ ├── bootstrap.min.js
│ │ └── jquery.min.js
│ └── sass
│ ├── _base.scss
│ └── style.scss
├── tasks
│ └── application.rake
└── views
├── index.erb
└── layout.erb
- Compass
- Rake
- Sass
- Shotgun
- Sinatra
This app is inspired by many ones :
- Sinatra-bootstrap by Adam Stacoviak, sinatra-bootstrap
"THE BEER-WARE LICENSE Christ Azika-Eros (@supm4n, website, christ@azika-eros.org) owns this project. As long as you retain this notice you can do whatever you want with this stuff. If we meet some day, and you think this stuff is worth it, you can buy me a beer in return. Christ Azika-Eros."