mirror of
https://github.com/moparisthebest/android.moparisthebest.org
synced 2025-01-14 15:18:00 -05:00
680 B
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.