Skip to content

Instantly share code, notes, and snippets.

@johnpipi
Last active August 29, 2015 14:17
Show Gist options
  • Save johnpipi/7a5f3d38524b3be9376a to your computer and use it in GitHub Desktop.
Save johnpipi/7a5f3d38524b3be9376a to your computer and use it in GitHub Desktop.
Running Pow with Apache
#!/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