Simple Sinatra App Template
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
controllers
helpers
public/js
views
.gitignore
Gemfile
Gemfile.lock
LICENSE.md
Procfile
README.md
bootstrap.rb
config.ru
sample.config.yml

README.md

Sinatra Template (Omikuji)

Web App Template.

  • Ruby 1.8.7+
  • Sinatra 1.3+
  • Haml
  • sass(scss)
  • jQuery

Want to Use DB?

if you want to use MongoDB or MySQL, checkout branch.

Clone

% git clone git://github.com/shokai/sinatra-template.git
% cd sinatra-template

Install Dependencies

% gem install bundler foreman
% bundle install

Config

% cp sample.config.yml config.yml

edit it.

Run

% foreman start

open http://localhost:5000

Deploy

use Passenger with "config.ru"