Deano
A starter template and generators for Sinatra. This project is incredibly opinionated. It will set up an asset pipeline using Sprockets. It sets up Twitter Bootstrap, RSpec, Mongoid, and Backbone as well.
Use at your own risk.
Installation
Add this line to your application's Gemfile:
gem 'deano'
And then execute:
$ bundle
Or install it yourself as:
$ gem install deano
Generating a New Project
$ deano new awesome_app
$ cd awesome_app
$ bundle
$ deano start
Testing
$ cd awesome_app
$ rake
Starting
$ cd awesome_app
$ deano start [environment]
Console
$ cd awesome_app
$ deano console [environment]
Generating a New App
$ cd awesome_app
$ deano generate:app foo_app
Destroying a New App
$ cd awesome_app
$ deano destroy:app foo_app
Generating a New Model
$ cd awesome_app
$ deano generate:model user
Destroying a New Model
$ cd awesome_app
$ deano destroy:model user
Help
$ deano 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