Setup the same LAMP + MEAN + Redis dev environment for all your team in minutes.
This will setup a vagrant box with
- Apache 2, PHP 5.4, NodeJS 0.10
- Composer, Jasmine, Karma, PhantomJS, PHP Unit, XDebug
- Git
- MySQL 5.5 server, MongoDB
- Wildcarded .dev hosts (any .dev domain will be served from /Public/DOMAIN/)
- The latest Mean.io stack
- Install VirtualBox and VagrantBox.
- Clone this repo into your dev folder.
- Create a folder called db/ inside your dev folder.
- Save your mysql database dump into db/seed.sql
$ sudo apt-get install vagrant virtualbox
$ git clone git@github.com:adykto/devBox.git
$ mkdir db
$ cp backup_mysql.sql db/seed.sql- Install PuTTY
- Import private key
- Install UTF-8 DejaVu Sans Mono font Download
- Activate PuTTY's support for xterm-256-color
- Activate PuTTY's attempt to use logical palettes
- Append VirtualBox's binaries to your PATH
- Open cmd.exe and run:
C:\> VBoxManage setextradata devbox.dev VBoxInternal2/SharedFoldersEnableSymlinksCreate//Public 1Now, we can run our Puppet provisioner
$ vagrant upAnd wait... a lot... xD
Edit your host machine to recognize all your .dev domains, appending 10.10.10.10 to /etc/hosts, and navigate to it. For example using nano:
$ sudo echo 10.10.10.10 exampledomain.dev >> /etc/hostsNow, you have a top-notch dev machine, like a boss!!!