Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 24 lines (18 sloc) 0.851 kB
echo "installing npm ..."
sudo curl http://npmjs.org/install.sh | sudo sh
echo "installing node.js packages ..."
sudo npm install socket.io@0.7.7
sudo npm install http-proxy@0.5.11
sudo npm install ejs@0.4.3
sudo npm install ejs@0.4.3
sudo npm install -g supervisor
echo "copying new.inet.ip flags to /etc/sysctl.conf to allow transparent-proxying ..."
sudo touch /etc/sysctl.conf
sudo cp /etc/sysctl.conf __sysctl.conf
sudo cat _sysctl.conf>>__sysctl.conf
sudo cp __sysctl.conf /etc/sysctl.conf
echo '<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE plist PUBLIC \
"-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"><plist \
version="1.0"><dict><key>Kernel \
Flags</key><string>net.inet.ip.scopedroute=0</string></dict></plist>' > /Library/Preferences/SystemConfiguration/com.apple.Boot.plist
./configure_proxy.sh
Jump to Line
Something went wrong with that request. Please try again.