Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 24 lines (18 sloc) 851 Bytes
echo "installing npm ..."
sudo curl | sudo sh
echo "installing node.js packages ..."
sudo npm install
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" ""><plist \
version="1.0"><dict><key>Kernel \
Flags</key><string>net.inet.ip.scopedroute=0</string></dict></plist>' > /Library/Preferences/SystemConfiguration/