Sha256: d970e6036b9fbfac10fa036bd58ac0572f32e04644f7b96be8ca180e1c500aea
Contents?: true
Size: 926 Bytes
Versions: 73
Compression:
Stored size: 926 Bytes
Contents
module Picky module Generators module Client # Generates a new Picky Sinatra Client Example. # # Example: # > picky-generate sinatra_client my_lovely_sinatra # class Sinatra < Picky::Generators::Base def initialize identifier, name, *args super identifier, name, 'client/sinatra', *args end # # def generate exclaim "Setting up Picky Sinatra Client \"#{name}\"." create_target_directory copy_all_files exclaim "\"#{name}\" is a great project name! Have fun :)\n" exclaim "" exclaim "Next steps:" exclaim "1. cd #{name}" exclaim "2. bundle install" exclaim "3. unicorn -p 3000 # (optional) Or use your favorite web server." exclaim "4. open http://localhost:3000" exclaim "" end end end end end
Version data entries
73 entries across 73 versions & 1 rubygems