mirror of
https://github.com/reality/dbot.git
synced 2024-11-30 16:09:27 +01:00
Add basic install.sh script [#144]
This commit is contained in:
parent
4555e12eaa
commit
55815702dc
23
install.sh
Executable file
23
install.sh
Executable 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"'
|
Loading…
Reference in New Issue
Block a user