laravel/homestead — pull request #94 by miagg (2014-09-21 14:06:43+00:00)
Title: Add helper scripts, Homestead-sample.yaml as a template

I made a fork with scripts to launch and destroy the vm.
vmup:
1. forward port 8000 to 80.
2. parse sites from Homestead.yaml and add them to /etc/hosts.
3. vagrant up.

vmdown:
1. flush firewall rules.
2. remove sites from /etc/hots.
3. vagrant destroy.

vmedit:
1. opens Homestead.yaml
2. if changed, it resets /etc/hosts and provisions the machine.

Also:
1. added Homestead.yaml to .gitignore and add Homestead-sample.yaml as a template.
2. Changed MySQL ports to the default ones to have the favorites (Sequel Pro) work for both local and remote servers.