Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 28 lines (23 sloc) 696 Bytes
# Check for NPM
type -P npm &>/dev/null || { echo ">>> NPM not installed. Please install using: curl | sh" >&2; exit 1; }
# Install dependencies (too lazy to figure out exact versions)
npm install express
npm install request
npm install redis
npm install
npm install node-static
npm install oauth
npm install cron
npm install htmlparser
npm install twitter-node
# Create symlink in all directories
DIRS=$(find `pwd` -d 1 -type d \( -not -iname ".*" -and -not -iname "node_modules" \))
for dir in $DIRS
if [ -h $dir/node_modules ]
rm $dir/node_modules
ln -s `pwd`/node_modules $dir/node_modules
Something went wrong with that request. Please try again.