Add basic install.sh script [#144]

This commit is contained in:
reality 2013-01-26 21:51:57 +00:00
parent 4555e12eaa
commit 55815702dc

23
install.sh Executable file
View File

@ -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"'