From c09e9de9f99b3decc1ef471aa94c41d8ad3578de Mon Sep 17 00:00:00 2001 From: reality Date: Sat, 31 Aug 2013 12:00:29 +0000 Subject: [PATCH] remove the old install file --- install.sh | 46 ---------------------------------------------- 1 file changed, 46 deletions(-) delete mode 100755 install.sh diff --git a/install.sh b/install.sh deleted file mode 100755 index 52deb74..0000000 --- a/install.sh +++ /dev/null @@ -1,46 +0,0 @@ -#!/bin/bash -cat LICENCE -git submodule init -git submodule update - -if [ ! -e /usr/bin/node ] && [ ! -e /usr/local/bin/node ]; -then - echo 'node.js is not installed. Please install it before running install.sh.' - exit 1 -fi -if [ ! -e /usr/bin/npm ] && [ ! -e /usr/local/bin/npm ]; -then - echo 'npm is not installed. Please install it before running install.sh' - exit 1 -fi - -npm install async wordnik node-uuid underscore request sandbox express moment-timezone moment jade databank databank-redis ent - -cd public/ -wget http://twitter.github.com/bootstrap/assets/bootstrap.zip -unzip bootstrap.zip -rm bootstrap.zip - -mkdir d3 -cd d3 -wget http://d3js.org/d3.v3.zip -unzip d3.v3.zip -rm d3.v3.zip - -cd ../.. - -if [ ! -f config.json ]; -then - echo 'Creating configuration file...' - cp config.json.sample config.json - vim config.json -fi - -read -p "Setup complete. Run depressionbot now? [y/N]" -if [[ ! $REPLY =~ ^[Yy]$ ]] -then - echo 'Okay. To run the bot, use "node run.js"' - exit -fi -node run.js -