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
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request