lib/brick/cli/up.rb
#By default, it's running in background

By default, it's running in background
By default it ' s running in background
def run
      project_name = ::Brick::Config[:project]
      config_file = ::Brick::Config[:config_file]
      project_dir = File.dirname(config_file)
      detach_mode = ::Brick::Config[:detach_mode]
      recreate_mode = ::Brick::Config[:recreate]
      start_link_mode = ::Brick::Config[:deps]
      project = ::Brick::Models::Project.new(project_name,{:config_file => config_file})
      project.up(detach_mode, start_link_mode, recreate_mode)
    end
def run project_name = :: Brick :: Config [ :project ] config_file = :: Brick :: Config [ :config_file ] project_dir = File . dirname ( config_file ) detach_mode = :: Brick :: Config [ :detach_mode ] recreate_mode = :: Brick :: Config [ :recreate ] start_link_mode = :: Brick :: Config [ :deps ] project = :: Brick :: Models :: Project . new ( project_name , { :config_file => config_file } ) project . up ( detach_mode , start_link_mode , recreate_mode ) end
By default, it's running in background
By default it ' s running in background
#::Brick::CLI::logger.info "hello, #{banner}, option[:no_cache]=#{::Brick::Config.configuration}"
