Skip to content
A simple application skeleton for Sinatra, inspired by Express.
Ruby HTML CSS
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
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

You can’t perform that action at this time.