Skip to content

Instantly share code, notes, and snippets.

@trey
Created May 28, 2012 16:58
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save trey/2820084 to your computer and use it in GitHub Desktop.
Save trey/2820084 to your computer and use it in GitHub Desktop.
Run Rails and PHP apps without having to mess with /etc/hosts using Pow

Run Rails and PHP apps without having to mess with /etc/hosts using Pow

This makes setting up PHP apps even easier than without Pow. No need to add things to your /etc/hosts file.

$ curl get.pow.cx/uninstall.sh | sh #if you have pow installed
$ echo 'export POW_DST_PORT=88' >> ~/.powconfig
$ curl get.pow.cx | sh
$ sudo curl https://raw.github.com/gist/1058580/zzz_pow.conf -o /etc/apache2/other/zzz_pow.conf
$ sudo apachectl restart

Source

Running Pow with Apache · 37signals/pow Wiki · GitHub (and)

@trey
Copy link
Author

trey commented May 28, 2012

This is a Solutions Log post.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment