Sinatra Scaffolder
A set of tools for creating new webservices with Sinatra. Allows quickly setting up a new project with all of the quality of life things we've found to ease the process of Ruby development even more.
Installation
$ gem install sinatra-scaffolder
Usage
$ sinatra-scaffolder create <project_name>
This will create go through the entire process of creating a new Sinatra project. This includes:
- Setting up a standard Sinatra folder structure.
- Creating hello world as an example controller.
- Setting up the rspec testing framework with a test of hello world.
- Configuring sinatra-reloader to pick up any file changes and reload the webserver in dev.
- Initializing a new git repo in the project path.
Run your tests by using $ rake coverage
Run Guard by $ guard
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