Making Sinatra even easier.
Making Sinatra even easier.
Sing will create the basic directory structure and base files for a Sinatra webapp. It creates your Gemfile (containing haml, sinatra, and rubygems), config.ru, index.haml, layout.haml (includes Twitter Bootstrap, and the current jQuery), application.css.
I created this with ruby 1.9.2, but it should work in 1.8.7 just fine.
To install, assuming you are using RVM (and you should be),
gem install sing
Create a new project; from the dirctory you want the project directory to live in:
sing new my_project
sing command project_name
For help use:
sing help
Currently the commands are limited to:
sing new
sing help
but I am open to adding more.
Ian Greulich
Based on Sow by David Duggins
Copyright (c) 2012 Ian Greulich. Licensed under the MIT License:
http://www.opensource.org/licenses/mit-license.php
Copyright (c) 2010 David Duggins. Licensed under GPL2:
http://www.opensource.org/licenses/GPL-2.0
Refactored so basic command line structure now works sing new my_project
Changed Readme.md to define the scope of the next steps of the development of Sing.
Added code to download three js libraries and also create a index.html file with the XHTML Strict Doctype.
Created the script, got the directory structure up and running
Add global switches for versioning, and reduced output