Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Bootstrap a sinatra app in 0.9

tag: v0.1.0

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 bin
Octocat-spinner-32 lib
Octocat-spinner-32 spec
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .rspec
Octocat-spinner-32 .rvmrc
Octocat-spinner-32 Gemfile
Octocat-spinner-32 README.md
Octocat-spinner-32 Rakefile
Octocat-spinner-32 sinatra_bootstrap.gemspec
README.md

Sinatra Bootstrap

Get a skeleton sinatra app up and running before you finish wishing you had an idea

Install

gem install sinatra_bootstrap

Usage

Sinatra-only application

take_the_stage sinatra

Wow, that was easy. take_the_stage sinatra will generate a Gemfile specifying only gem 'sinatra', '~> 1.3' as well as a main.rb file to hold your application.

Rack application

take_the_stage sinatra --rackup

The rackup variant will also generate a config.ru file suitable for deploying your application on a Rack-based server.

Heroku

take_the_stage heroku

When passed heroku sinatra bootstrap will generate a more complete Gemfile containing thin, heroku, and foreman. It also outputs a simple config.ru and Procfile

Something went wrong with that request. Please try again.