This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 400,000 packages pre-installed, including
poxy with all
npm packages installed. Try it out:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
It's my intention to make this a one-step process, but for now:
npm install poxy
brew install dnsmasq
echo "address=/dev/127.0.0.1\nlisten-address=127.0.0.1" > /etc/local/dnsmasq.conf
sudo launchctl load /Library/LaunchDaemons/homebrew.mxcl.dnsmasq.plist
echo "nameserver 127.0.0.1\nport 53" | sudo tee /etc/resolver/dev
sudo ipfw add 100 fwd 127.0.0.1,10969 tcp from any to any 80 in
Note: You'll need to do the last two steps every time you start your computer (for now, at least).
You're on your own, for now. You'll need to: