2013-01-11 13:29:22 +01:00
|
|
|
# Web
|
2012-12-31 16:37:49 +01:00
|
|
|
|
|
|
|
Web interface
|
|
|
|
|
2013-01-11 13:29:22 +01:00
|
|
|
## Description
|
2012-12-31 16:37:49 +01:00
|
|
|
|
|
|
|
It's a web interface for DBot. What of it?
|
2013-01-11 13:29:22 +01:00
|
|
|
|
|
|
|
## Requirements
|
2013-05-26 17:49:44 +02:00
|
|
|
|
|
|
|
### Express and Jade
|
2013-01-12 14:01:43 +01:00
|
|
|
```
|
2013-05-26 17:49:44 +02:00
|
|
|
npm install express jade
|
2013-01-12 14:01:43 +01:00
|
|
|
```
|
2013-05-26 17:49:44 +02:00
|
|
|
|
|
|
|
### Twitter Bootstrap
|
2013-01-11 13:29:22 +01:00
|
|
|
```
|
|
|
|
cd depressionbot/public/
|
|
|
|
wget http://twitter.github.com/bootstrap/assets/bootstrap.zip
|
|
|
|
unzip bootstrap.zip
|
|
|
|
rm bootstrap.zip
|
|
|
|
```
|
2013-05-26 17:49:44 +02:00
|
|
|
|
|
|
|
### d3.js
|
2013-01-11 23:39:32 +01:00
|
|
|
```
|
|
|
|
cd depressionbot/public/
|
|
|
|
mkdir d3
|
|
|
|
cd d3
|
|
|
|
wget http://d3js.org/d3.v3.zip
|
|
|
|
unzip d3.v3.zip
|
|
|
|
rm d3.v3.zip
|
|
|
|
```
|