Sha256: fbb58d3b90977ae77ed4147b785c5fc9c610e0c548d73c46762d4c07103929d3

Contents?: true

Size: 877 Bytes

Versions: 4

Compression:

Stored size: 877 Bytes

Contents

# SinatraGenerator

generate a simple hello world sinatra app

## Installation

Install it yourself as:

    $ gem install sinatra_generator


## Usage:

    sinatra new [APP_NAME]

## Options:

    -m, [--modular=MODULAR]    # modular style. Inherits from Sinatra::Base
    -v, [--views=VIEWS]        # include views folder, index.erb and layout.erb
    -a, [--assets=ASSETS]      # include public, javascripts and stylesheets folder
    -p, [--procfile=PROCFILE]  # include Procfile

## example

    sinatra new blog -mvpa
        
    .
    ├── config.ru
    ├── Gemfile
    ├── main.rb
    ├── Procfile
    ├── public
    │   ├── javascripts
    │   │   └── application.js
    │   └── stylesheets
    │       └── main.css
    └── views
        ├── index.erb
        └── layout.erb

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sinatra_generator-0.1.4 README.md
sinatra_generator-0.1.3 README.md
sinatra_generator-0.1.2 README.md
sinatra_generator-0.1.1 README.md