Skip to content

Instantly share code, notes, and snippets.

@prathe
Created November 27, 2011 23:50
Show Gist options
  • Save prathe/1398482 to your computer and use it in GitHub Desktop.
Save prathe/1398482 to your computer and use it in GitHub Desktop.
Managing websites locally with POW

Disable Web sharing

In System Prefecences under Sharing, uncheck "Web Sharing". You probably won't need it anymore.

Update to the latest XCode

Install MySQL with homebrew

brew update
brew install mysql

Install PHP with homebrew

curl -O https://raw.github.com/ampt/homebrew/php/Library/Formula/php.rb;
mv php.rb `brew --prefix`/Library/Formula;
brew install php --enable-cgi --with-mysql --with-fpm
echo 'export PATH='`brew --prefix php`'/bin:$PATH' >> .bash_profile

Install nginx

brew install nginx

Powder to manage Pow

Installation

gem install powder;
powder install;

Adding a Rails website

cd /src/myapp
powder link
open http://myapp.dev

Using zsh and rbenv?

Make sure you have a .zshenv

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