cuba-template-generator

Helps create cuba projects through a minimalist generator.


Keywords
cuba, ruby, template-engine
License
MIT
Install
gem install cuba-template-generator -v 1.2.2

Documentation

cuba-template-generator

Build Status

cuba-template-generator is a generator to help creating Cuba projects.

Cuba is a micro-framework for Ruby based on Rack.

Installation

gem install cuba-template-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 Sequel)

cuba new [projectName] --database postgresql

To generate an application with a Sqlite configuration setup use --database option (via Sequel)

cuba new [projectName] --database sqlite

By default --type is 'app'.

Contributing

  1. Fork it ( https://github.com/rangeroob/cuba-template-generator/fork )
  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 a new Pull Request

Thanks

This project is inspired from cuba-libre.

This project is forked from cuba-generator