Steps:
- [Clone this repo]
git clone [email protected]:pwyborn/makeaplea-deploy.git \
cd my-project-deploy/
vagrant up
vagrant provision
vagrant ssh [Hello-World1 or Hello-World2 or Hello-World3]
- vi (or vim) /etc/sudoers
- i (for insert)
- change line vagrant ALL=(ALL) NOPASSWD:ALL
- change line %admin sudo (did not have time to implement automation of this)
- http://localhost:3009/ (this at least tests that nginx is up and running - as well as the test when Vagrantbox is created/provisioned)
- Automated test for nginx listening on port 80 is "test_port.sh" runs at "Vagrant Up" or "Vagrant Provision"
- Virtual Box - install from https://www.virtualbox.org/wiki/Downloads
- Vagrant - install from http://www.vagrantup.com/downloads.html
- I created the app first (very basic)
- I created the virtualbox
- I added the extra machines
- Added a simple test for whether Nginx was running on port 80
- Then basically ran out of time
- Wasn't sure if I should have gone down the salt and docker routes (however didn't think I would have enough time to configure these)