It's always painful when a new developer joins the team and we don't have a proper onboarding procedure. He should spend the very first day of set-up his development environment. The problem on READMEs and other manuals that they need to be kept up-to-date. And it's another waste of time and efforts. So then we need somebody who is good at deployment to help the member to get things done. In other words, a daily-buddy is required. Yet another waste of time and resources, again.
The script deploys development environment for https://pivorak.com/ into Vagrant Virtual Machine with Ansible. Runtime and state VM availability are being proved with Chef InSpec tests.
So then, in several minutes, we will have properly deployed, well-tested, and ready-to-work development environment.
It's easy can be changed to deploy into cloud services like Digital Ocean or AWS.
- Homebrew + Cask
- Virtualbox
- Vagrant
brew cask install vagrant virtualbox
rails s -b 0.0.0.0 ansible-playbook -i hosts site.yml
gem install inspec