class Sambot::Tasks::Up
Public Instance Methods
run(options)
click to toggle source
# File lib/sambot/tasks/up.rb, line 11 def run(options) unless File.exist?('docker-compose.yml') UI.error("This command should only be run in a cookbook directory. Make sure you have run `chef exec sambot build --local --docker` before trying again.") exit 1 end `docker-compose -p local up -d` Sambot::Tasks::Populate.new.run(options) end