For easy deployments we're using flightplan
, install with npm install -g flightplan
.
Before deploying you need to make your computer a friend to the server.
You only need to do these steps once per machine.
We are going to be adding your public key to the remote server for passwordless SSH.
Then we are going to set up your SSH to allow for Agent Forwarding, so that your git commands are tunneled to the server.
When a step says Locally it means you should execute the command on your local machine.