Sha256: 14100ea8fb6bfba03e411eabc6b8a25894ab9b76e2e015a555759ff59a0e52d9
Contents?: true
Size: 933 Bytes
Versions: 50
Compression:
Stored size: 933 Bytes
Contents
module Picky module Generators module AllInOne # Generates a new Picky Sinatra/Unicorn combined Client/Server Example. # # Example: # > picky-generate all_in_one my_client_server_directory # class Sinatra < Picky::Generators::Base def initialize identifier, name, *args super identifier, name, 'all_in_one/sinatra', *args end # # def generate generate_for "Sinatra Client/Server", [ 'shared/server', 'shared/both', 'shared/client' ], [ "cd #{name}", "bundle install", "bundle exec rake index", "bundle exec unicorn -c unicorn.rb", "open http://localhost:8080/", "rake todo # (optional) Shows you where Picky needs input from you." ] end end end end end
Version data entries
50 entries across 50 versions & 1 rubygems