Last active
August 29, 2015 14:17
-
-
Save johnpipi/7a5f3d38524b3be9376a to your computer and use it in GitHub Desktop.
Running Pow with Apache
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
#!/bin/sh | |
echo "Uninstalling POW" | |
curl get.pow.cx/uninstall.sh | sh #if you have pow installed | |
echo "Setting port for POW to 88" | |
echo 'export POW_DST_PORT=88' >> ~/.powconfig; source ~/.powconfig; | |
echo "Installing Vhost for POW *.dev" | |
sudo curl -L https://gist.githubusercontent.com/soupmatt/1058580/raw/zzz_pow.conf -o /private/etc/apache2/other/zzz_pow.conf | |
echo "Restarting Apache" | |
sudo apachectl restart | |
echo "Installing POW" | |
curl get.pow.cx | sh | |
echo "Done!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment