Ask HN: How do you provision new developer environments?
We're hiring 5-6 new developers, and I know that setting up a development environments can be a nightmare. Trial and error, things going wrong, what solutions have you learnt over the years that makes this as pain free and easily replicable as possible?
We will be providing all hardware/equipment for the new onsite developers, but looking at having a workflow in place that helps people write new code on day one, rather than spending two days installing everything and then having to repeat it again in a weeks time for the next recruit.
6 comments
[ 3.2 ms ] story [ 26.0 ms ] threadOn mac we have homebrew to pull in all the desktop apps and cli tools. Then a simple bash script to automate all of it.
I've managed to "retrofit" this into a team of 20+ devs and product owners for a variety of services.
We are even piloting this with sales and support so that they can stay abreast of bleeding-edge development and provide valuable feedback.
Not pretty, but it worked. The big advantage was that since everybody was getting all their tools and dependencies from the same place everybody was using, not only the same version, but also exactly the same binary of everything.
At least now the process is documented. Two years ago it was trial and error.
All the dependencies take a while to compile, but we've done it enough times now and have the operations written down precisely enough that aside from some data indexing tasks that have to run overnight (and which aren't strictly necessary to get started developing) we can set up a new environment in about 3 hours.
Next step is probably a bash script to automate most of the process on each of our 2-3 most commonly used platforms.