-
Notifications
You must be signed in to change notification settings - Fork 145
Automatic deployment
Anders Ingemann edited this page Nov 3, 2013
·
2 revisions
After having launched ec2 instances a lot, I got tired of installing zsh, tmux etc. Check out this gist. In one line you can run a script which installs your favorite shell and multiplexer. It also installs homeshick, which then clones and symlinks your castle(s).
To clone via ssh instead of https, you will need a private key. You may however not trust the current server with agent forwarding, which is why the script contains a variable to hold the unencrypted deploy key of your castles (on github this key is available in the admin section of your repo). The key will be added to the ssh-agent in order for git to be able to clone via SSH.