Skip to content

Instantly share code, notes, and snippets.

@chadmoone
Last active November 8, 2015 13:28
Show Gist options
  • Save chadmoone/4113463 to your computer and use it in GitHub Desktop.
Save chadmoone/4113463 to your computer and use it in GitHub Desktop.
echo ""
echo "--Uninstalling pow..."
curl get.pow.cx/uninstall.sh | sh #if you have pow installed
echo ""
echo "--Modifying pow configuration..."
echo 'export POW_DST_PORT=88' >> ~/.powconfig
echo ""
echo "--Modifying Apache configuration..."
sudo sh -c "echo '\nInclude /Applications/XAMPP/etc/extra/zzz_pow.conf' >> /Applications/XAMPP/xamppfiles/etc/httpd.conf"
echo ""
echo "--Adding pow Apache file..."
sudo curl https://gist.github.com/soupmatt/1058580/raw/zzz_pow.conf -o /Applications/XAMPP/etc/extra/zzz_pow.conf
echo ""
echo "--Installing pow..."
curl get.pow.cx | sh
echo""
echo "--Stopping system Apache..."
sudo apachectl stop
echo ""
echo "--...done."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment