• Stars
    star
    378
  • Rank 113,272 (Top 3 %)
  • Language
    Ruby
  • Created about 15 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A simple Sinatra starting point

Sinatra Bootstrap

A simple Sinatra starting point

Sinatra Bootstrap supports:

What is the purpose of Sinatra Bootstrap?

I created Sinatra Bootstrap in order to have a consistent starting point for my Sinatra projects. I like having Haml, Sass and Compass available to me in every project, likewise jQuery makes its way into every production as well. A number of helpful rake tasks have also been included.

How do I get started?

bundle install

How do I start the application?

Start the app by running:

rake s

This rake command runs bundle exec shotgun config.ru behind the scenes for you and starts the app on Sinatra's default port 9393 and will now be able to view the application in your web browser at this URL http://localhost:9393.

You'll also want to open a new terminal window to the same directory and run compass watch to watch the Sass files for changes.

Helper Rake Tasks

There are a few helper Rake tasks that will help you to clear and compile your Sass stylesheets as well as a few other helpful tasks. There is also a generate task, so you can generate a new project at a defined location based on the bootstrap.

rake -T

rake css:clear         # Clear the CSS
rake css:compile       # Compile CSS
rake css:compile:prod  # Compile CSS for production
rake generate          # Generate a new project at dir=foo
rake s                 # Run the app

License

Copyright (c) Adam Stacoviak

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

More Repositories

1

animate.sass

Sass and Compass CSS animation library based on Animate.css
Ruby
325
star
2

zocial

Sass and Compass CSS3 social buttons framework
Ruby
189
star
3

grid-coordinates

Sass and Compass highly-configurable CSS grid framework
CSS
108
star
4

meyer-reset

Eric Meyer CSS reset in Sass
Ruby
106
star
5

serve-bootstrap

Serve Bootstrap to aid in rapid design using Haml, Sass and Compass
Ruby
83
star
6

staticmatic-bootstrap

StaticMatic bootstrap with support for Haml, Sass, Compass and jQuery
JavaScript
71
star
7

pictos-free

Sass and Compass interface icon set (Pictos Free) from Drew Wilson
Ruby
52
star
8

font-stacks

Sass and Compass font-family library of common web-friendly font stacks
Ruby
39
star
9

nanoc-bootstrap

Nanoc bootstrap with support for Haml, Sass, Compass and jQuery
Ruby
36
star
10

jquery-qt-controller

A jQuery powered Quicktime Interface Controller
JavaScript
20
star
11

thor-wordpress

A set of Thor tasks to make developing with Wordpress easier
18
star
12

mailplane-hide-gmail-ads-css

A simple CSS file to use with Mailplane to hide the Gmail ads
14
star
13

compass-extension-bootstrap

Compass extension bootstrap is a simple starting point for creating Compass extensions.
Ruby
14
star
14

sass-textmate-bundle

A TextMate bundle to aid in rapid Sass development (indented syntax)
14
star
15

960-grid-system-textmate-bundle

TextMate Bundle for rapid development with 960.gs and HAML
12
star
16

smashing-layout

The Sass Way to recreate Smashing Magazine's layout (circa 2009)
Ruby
9
star
17

pictosfree.heroku.com

The demo for Pictos Free
Ruby
7
star
18

foundation-sass

SASSy-fied
JavaScript
6
star
19

nesta-bootstrap

A clean starting point for Nesta based sites using Haml, Sass and Compass
JavaScript
6
star
20

grid-coordinates.com

Hompage for Grid Coordinates - Sass based CSS Grid Framework Generator (Compass Extension)
Ruby
4
star
21

compass-simple

A simple, no fluff, project to use when illustrating code samples using Haml, Sass and Compass
Ruby
3
star
22

coffeefancy

Community-driven Coffee repo. Stars, stars, stars!
2
star
23

smashinglayout.com

Homepage for Smashing Layout - The Sass Way to recreate Smashing Magazine's layout (circa 2009)
JavaScript
2
star
24

ignitehouston-staticmatic

StaticMatic version of letsignitehouston.com
Ruby
1
star
25

itseasyjustsignup

Ruby
1
star
26

bedrock

Bedrock is a work in-progress.
Ruby
1
star
27

learningruby

Memoirs of an aspiring Rubyist
Ruby
1
star