Class: RubyWebApp
- Inherits:
-
FPM::Cookery::Recipe
- Object
- FPM::Cookery::Recipe
- RubyWebApp
- Extended by:
- Gordon::Cookery::DependencyResolver
- Includes:
- Gordon::Cookery::ApplicationUser, Gordon::Cookery::Common, Gordon::Cookery::HttpServer, Gordon::Cookery::Init, Gordon::Cookery::Log, Gordon::Cookery::Ruby::Common
- Defined in:
- lib/gordon/application/templates/ruby_web_app.rb
Constant Summary
Constants included from Gordon::Cookery::Common
Gordon::Cookery::Common::MAIN_BLACKLIST_FILES
Constants included from Gordon::Cookery::Ruby::Common
Gordon::Cookery::Ruby::Common::RUBY_BLACKLIST_FILES
Instance Method Summary collapse
Methods included from Gordon::Cookery::DependencyResolver
Methods included from Gordon::Cookery::Common
#all_files_except_blacklisted, #create_skeleton_type, #get_skeleton_path_from_type, included
Methods included from Gordon::Cookery::Init
Methods included from Gordon::Cookery::Log
Methods included from Gordon::Cookery::ApplicationUser
#create_user_and_group, #setup_user_permissions
Methods included from Gordon::Cookery::HttpServer
Instance Method Details
#build ⇒ Object
30 31 32 33 34 35 36 37 |
# File 'lib/gordon/application/templates/ruby_web_app.rb', line 30 def build home_path = get_skeleton_path_from_type($env_vars, $env_vars.http_server_type) create_user_and_group($env_vars, home_path) ($env_vars, home_path) create_init($env_vars, $env_vars.http_server_type) end |
#install ⇒ Object
39 40 41 42 43 44 |
# File 'lib/gordon/application/templates/ruby_web_app.rb', line 39 def install create_log_folder($env_vars) install_init($env_vars) install_http_server_files($env_vars, RUBY_BLACKLIST_FILES) end |