From 55815702dcd521c01b92a21714551c8029b7010a Mon Sep 17 00:00:00 2001 From: reality Date: Sat, 26 Jan 2013 21:51:57 +0000 Subject: [PATCH] Add basic install.sh script [#144] --- install.sh | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100755 install.sh diff --git a/install.sh b/install.sh new file mode 100755 index 0000000..42cf7ec --- /dev/null +++ b/install.sh @@ -0,0 +1,23 @@ +#!/bin/bash + +git submodule init +git submodule update + +npm install underscore request sandbox express moment jade@0.25 + +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 .. + +cp config.json.sample config.json + +echo 'Setup complete. Now edit config.json with your preferences and run the bot with "node run.js"'