Created
November 22, 2013 10:10
-
-
Save davidhellsing/7597680 to your computer and use it in GitHub Desktop.
OS X apache - create a local dev directory
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
$ cd /Library/WebServer | |
$ sudo -s | |
$ mv Documents Documents.old | |
$ sudo ln -s [projpath] . | |
$ mv [dirname] Documents | |
# Now just goto http://localhost and see all your local projects |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment