Class: Chagall::Setup
Overview
Handles server provisioning and Docker environment setup for deployment
Defined Under Namespace
Classes: DockerSetupError
Constant Summary
Constants inherited from Base
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Instance Method Details
#execute ⇒ Object
12 13 14 15 16 17 18 19 |
# File 'lib/chagall/setup.rb', line 12 def execute install_docker unless docker_installed? setup_non_root_docker_deamon_access if unable_to_access_docker_deamon? create_project_folder unless project_folder_exists? create_env_files logger.info "Docker environment setup complete" end |