Project

hisyo

0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
Create simple Sinatra project template
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies
 Project Readme

Travis CI Build Status

Hisyo is a generator that for your pure Sinatra project to play.

$ gem install hisyo
$ rbenv rehash; rehash; # if necessary
$ hisyo -r ~/myapp
Complete.
  $ cd ~/myapp
  $ rackup (or `rspec spec/`, `vim app/helpers.rb`, etc)
$ cd ~/myapp
$ tree -Fa
.
├── .gitignore
├── Gemfile
├── app/
│   ├── app.rb
│   ├── assets/
│   ├── controllers.rb
│   ├── helpers.rb
│   └── views/
│       └── index.str
├── config/
│   └── boot.rb
├── config.ru
├── db/
├── lib/
├── log/
├── public/
├── spec/
│   ├── hello_spec.rb
│   └── spec_helper.rb
├── tmp/
└── views/

11 directories, 10 files

$ rackup
[2012-05-28 02:24:32] INFO  WEBrick 1.3.1
[2012-05-28 02:24:32] INFO  ruby 1.9.3 (2012-02-16) [x86_64-linux]
[2012-05-28 02:24:32] INFO  WEBrick::HTTPServer#start: pid=11232 port=9292
^C
$ hisyo -r . -k travis
create: ./.travis.yml
create: ./Rakefile

Generated project(as below) is a purely Sinatra application. That means you can gem uninstall hisyo after generation.