Created
September 26, 2013 15:38
-
-
Save apisandipas/6715950 to your computer and use it in GitHub Desktop.
Dev Environment Set Up
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Node/NPM: | |
1. Go to http://nodejs.org/ and download installer. This will give you node executable as well as NPM (Node Package Manager). | |
2. Run `node -v` and `npm -v` to install installation was successful | |
Grunt: | |
1. Run `npm install -g grunt-cli` | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Download & Install VirtualBox - https://www.virtualbox.org/ | |
2. Download & Install Vagrant - http://www.vagrantup.com/ | |
3. Grab the VM 'PHP Box' - | |
i. Run `mkdir ~/Vagrant/Boxes` | |
ii. Doejo Server -> Vagrant -> Boxes | |
iii. grab php.box and put it in ~/Vagrant/Boxes | |
iv. Run `vagrant box add php ./php.box` | |
To start a new project, create a 'Vagrantfile' and paste in the contents of the Vagrantfile below. | |
Run `vagrant up` and wait. | |
Run `vagrant suspend` to save the state and stop the VM | |
Note: It's highly recommended to alias vagrant to v to save hassel. | |
In ~/.bashrc or ~/.zshrc paste: alias v=vagrant |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment