android.moparisthebest.org/source/docs/deploying/rsync/index.markdown
2011-09-19 12:19:20 -05:00

680 B

layout title date sidebar footer
page Deploying with Rsync 2011-09-10 17:53 false false

Deploying with Rsync via SSH

Add your server configurations to the Rakefile under Rsync deploy config. To deploy with Rsync, be sure your public key is listed in your server's ~/.ssh/authorized_keys file.

    ssh_user       = "user@domain.com"
    document_root  = "~/website.com/"
    deploy_default = "rsync"

Now if you run

    rake generate   # If you haven't generated your blog yet
    rake deploy     # Syncs your blog via ssh

in your terminal, your public directory will be synced to your server's document root.