No commit activity in last 3 years
No release in over 3 years
Intended as a quick demo on how to make a ruby gem. Generate a simple hello world sinatra app
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.6
~> 5.3
~> 0.9
~> 0.7

Runtime

~> 0.19
 Project Readme

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