Created
September 12, 2011 11:18
-
-
Save padde/1211039 to your computer and use it in GitHub Desktop.
Pow: Serve ~/Sites to localhost
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
# public directory needed for static files! | |
cd ~/Sites | |
ln -s . public | |
# symlink as 'default' (magic name) into .pow | |
cd ~/.pow | |
ln -s ~/Sites default | |
# check if it works | |
open -a Safari http://localhost |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment