Sinatra::Template

TODO: Write a gem description

Installation

Add this line to your application's Gemfile:

gem 'sinatra-template'

And then execute:

$ bundle

Or install it yourself as:

$ gem install sinatra-template

Generating a New Project

$ sinatra new awesome_app
$ cd awesome_app
$ bundle
$ foreman start

Testing

$ cd awesome_app
$ rake

Starting

$ cd awesome_app
$ sinatra start [environment]

Console

$ cd awesome_app
$ sinatra console [environment]

Generating a New App

$ cd awesome_app
$ sinatra generate:app foo_app

Destroying a New App

$ cd awesome_app
$ sinatra destroy:app foo_app

Generating a New Model

$ cd awesome_app
$ sinatra generate:model user

Destroying a New Model

$ cd awesome_app
$ sinatra destroy:model user

Help

$ sinatra help

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request