module DA_Deploy

Extended Modules

Defined in:

da_deploy.cr
da_deploy/App.cr
da_deploy/Public_Dir.cr
da_deploy/Runit.cr

Constant Summary

DEPLOY_DIR = "/deploy"
SERVICE_DIR = "/var/service"

Instance Method Summary

Instance Method Detail

def deploy(name : String) #

[View source]
def deploy #

[View source]
def deploy_check #

[View source]
def generate_release_id #

[View source]
def init #

Run this on the remote server you want to setup.


[View source]
def init_ssh #

[View source]
def init_www #

[View source]
def is_release?(dir) #

[View source]
def latest(dir : String) #

[View source]
def latest!(dir : String) #

[View source]
def releases(dir : String) #

[View source]
def remove(app_name : String) #

[View source]
def service_name?(name : String, dir : String) #

[View source]
def upload_binary_to_remote(server_name : String) #

Push the bin/da_deploy binary to /tmp on the remote server


[View source]
def upload_commit_to_remote(server_name : String) #

[View source]
def upload_shell_config_to(server_name : String) #

[View source]
def useradd(user : String) #

[View source]
def wait(max : Int32, &) #

[View source]