File size: 711 Bytes
3f268e5 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 |
# Demo
Here are the steps to setup a dana server with some random benchmarks/projects.
As a requirement, you need to have node.js installed on your machine. [See nodejs download](https://nodejs.org/en/download/).
## Instructions for Mac/Linux
```
$ npm install
$ cp -r demo/configs configs
$ cp -r demo/projects www/views/projects
```
To start the server, there are two options:
```
$ node src/server.js
or
$ npm start
```
## Feeding fake data
In order to feed some fake data to see the dashboard in action:
```
$ cd dana-websocket-client
$ node pullDummyData.js 100 100 100
```
You're ready to go!
## Accessing dana
[Just open a browser on http://localhost:7000](http://localhost:7000/).
Enjoy :)
|