Created
July 31, 2014 12:34
-
-
Save jonmunson/6c7e758d596375438ca7 to your computer and use it in GitHub Desktop.
Setting up a Local development Environment on OSX Mavericks
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
# Setting up a Local development Environment on OSX Mavericks | |
As seen [here](http://mallinson.ca/post/osx-web-development/) | |
1. Download Xcode (or run `xcode-select --install` and choose install) | |
2. Install Command Line Tools | |
3. Download and install MySQL | |
4. Set MySQL to launch on startup | |
5. Show hidden files on OSX by using `defaults write com.apple.finder AppleShowAllFiles YES` | |
5. Edit the Hosts file located at `/private/etc/hosts` | |
6. Set up local web root (I use `/Sites/`) | |
7. Restart apache by running `sudo apachectl restart` | |
8. Tell Apache to handle PHP by uncommenting the line here `/private/etc/apache2/httpd.conf` | |
9. This line: `#LoadModule php5_module libexec/apache2/libphp5.so` | |
10. And this one: `#Include /private/etc/apache2/extra/httpd-vhosts.conf` | |
11. edit the `httpd-vhosts.conf` file in the `/private/etc/apache2/extra/` directory | |
12. comment out the example virtual-hosts | |
12. Restart apache by running `sudo apachectl restart` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment