A simple application skeleton for Sinatra, inspired by Express.
Ruby HTML CSS
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.
public/stylesheets
views
.gitignore
Gemfile
Gemfile.lock
LICENSE
Procfile
README.md
app.json
app.rb
config.ru

README.md

Witchcraft

Dependency Status

A simple application skeleton for Sinatra, inspired by Express.

Installation

  1. Install Ruby (I recommend the latest Ruby, but 1.9 and later should work).
  2. Install Bundler with gem install bundler.
  3. bundle

Running the Server

Development

ruby app.rb

This will default to port 3000.

Production

bundle exec rackup

I recommend changing the default port with -p.

Heroku

Deploy