Sha256: d225a04eae90b336b284e18408aed5c0ab35c697e7142efe470aafbaef7be6d1
Contents?: true
Size: 1.08 KB
Versions: 20
Compression:
Stored size: 1.08 KB
Contents
module Picky module Generators module Server # Generates a new Picky Sinatra/Unicorn Server Example. # # Example: # > picky-generate sinatra_server my_sinatra_directory # class Sinatra < Picky::Generators::Base def initialize identifier, name, *args super identifier, name, 'server/sinatra', *args end # # def generate exclaim "Setting up Picky Sinatra Server \"#{name}\"." create_target_directory copy_all_files copy_all_files expand_prototype_path('server/shared') exclaim "\"#{name}\" is a great project name! Have fun :)\n" exclaim "" exclaim "Next steps:" exclaim "1. cd #{name}" exclaim "2. bundle install" exclaim "3. rake index" exclaim "4. unicorn -c unicorn.rb" exclaim "5. rake todo # (optional) shows you where Picky needs input from you" exclaim " # if you want to define your own search." end end end end end
Version data entries
20 entries across 20 versions & 1 rubygems