Sha256: 3c6415c3905d954e81510265b9735359cfdd9b861bd92b2fb34e4c26c4198f43

Contents?: true

Size: 415 Bytes

Versions: 2

Compression:

Stored size: 415 Bytes

Contents

task :server do
	system('puma')
end

task :deploy do
	$stderr.puts "Updating permissions..."
	sh("chmod -Rf ug+rwX .")
	sh("chown -Rf http:http .")
	
	$stderr.puts "Updating site #{Dir.pwd} as #{`whoami`.chomp}..."
	sh("sudo -u http git checkout -f")
	sh("sudo -u http git submodule update -i")
	sh("sudo -u http bundle install")
	
	$stderr.puts "Restarting server..."
	sh("sudo -u http touch tmp/restart.txt")
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
utopia-1.0.3 setup/Rakefile
utopia-1.0.2 setup/Rakefile