Sha256: a071a9cd2397b9f11e63683405c481e1661062678dc9cfee7279e7193602b96e
Contents?: true
Size: 526 Bytes
Versions: 9
Compression:
Stored size: 526 Bytes
Contents
require 'cloner' class Dl < Cloner::Base no_commands do def rails_path File.expand_path("../../../config/environment", __FILE__) end def ssh_host 'hottea.ru' end def ssh_user 'tea' end def remote_dump_path '/data/tea/dump' end def remote_app_path "/data/tea/app/current" end end desc "download", "clone files and DB from production" def download load_env clone_db rsync_public("ckeditor_assets") rsync_public("uploads") end end
Version data entries
9 entries across 9 versions & 1 rubygems