Have your setup for your dev environment under version control.
I do this with Linode stackscripts, and I couldn't live without it. Unfortunately DigitalOcean don't support stackscripts as of yet. And their support didn't want to tell me if they will ever support it.
It took me a fairly long time to setup the dev environment so I was a bit pissed.