Sha256: 5d79adf9085e2d44d52c621e75c037862755a9c9cf0963ea6e5a6ace0ea20cfa
Contents?: true
Size: 1.04 KB
Versions: 31
Compression:
Stored size: 1.04 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. rake index" exclaim "3. unicorn -c unicorn.rb" exclaim "4. 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
31 entries across 31 versions & 1 rubygems