cuba-generator
cuba-generator copied to clipboard
Application Generator for Cuba framework
cuba-generator
cuba-generator is a generator to help creating Cuba projects.
Cuba is a micro-framework for Ruby based on Rack.
Installation
gem install cuba-generator
Usage
cuba new [projectName] [options]
Additionally you can specify the type of your app via --type . E.g to generate an API starting point.
cuba new [projectName] --type api
To generate an application with a Postgresql configuration setup use -database option (via Datamapper)
cuba new [projectName] --database postgresql
By default --type is 'app'.
Contributing
- Fork it ( https://github.com/Sdogruyol/cuba-generator/fork )
- 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 a new Pull Request
Thanks
This project is inspired from cuba-libre.