build weinre osx draft

# require /usr/bin/cc (xcode)
cd
git clone https://github.com/mxcl/homebrew.git
cd homebrew/bin
# add PATH
export PATH=${PATH}:${HOME}/homebrew/bin
# install nodejs
brew install node
export NODE_PATH=${HOME}/homebrew/lib/node_modules:/usr/local/lib/node
# install npm
curl http://npmjs.org/install.sh | sh
export PATH=${PATH}:/usr/local/share/npm/bin
npm install express
git clone https://github.com/callback/callback-weinre.git
cd callback-weinre/weinre.build
cp sample.personal.properties personal.properties
# install growlNotify
GrowlNotify 1.3
ant -f get-vendor.xml
ant


http://shapeshed.com/journal/setting-up-nodejs-and-npm-on-mac-osx/
http://growl.info/downloads
http://phonegap.github.com/weinre/

No comments: