Skip to content

Commit

Permalink
doc
Browse files Browse the repository at this point in the history
  • Loading branch information
scardena committed Mar 17, 2016
1 parent 3559eb5 commit 96ccb4a
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 311 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,17 @@ a(href='newdashboard')
5) Go to APO/web and hit <br>
`npm start`

If you find this error:
```
events.js:72
throw er; // Unhandled 'error' event
^
Error: listen EADDRINUSE
```
it means that the server is already running elsewhere, and you should stop it first.


6) Now you can go to your favorite browser and enter http://10.200.114.135:3000 and you should be able to see this:

<img src="img/img1.png" alt="Image I" style="width:304px;height:228px;">
Expand Down
97 changes: 0 additions & 97 deletions web/routes/newdashboard.js

This file was deleted.

17 changes: 5 additions & 12 deletions web/routes/routeTemplate.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,11 @@
var express = require('express');
var router = express.Router();
var async = require('async');
var mongodb = require('mongodb');
var http = require('http');


/* GET home page. */
router.get('/', function(req, res)
{
var async = require('async');
var router = express.Router();

res.render('newdashboard');
router.get('/', function(req, res) {

res.render('newdashboard');
});



module.exports = router;

6 changes: 3 additions & 3 deletions web/views/layout.jade
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ html
a(href='map')
i.fa.fa-map
| Network Status
//a(href='newdashboard')
// i.fa.fa-pie-chart
// | New Dashboard
a(href='newdashboard')
i.fa.fa-pie-chart
| New Dashboard

// /.sidebar
// Right side column. Contains the navbar and content of the page
Expand Down
138 changes: 0 additions & 138 deletions web/views/newdashboard.jade

This file was deleted.

61 changes: 0 additions & 61 deletions web/views/viewTemplate.js

This file was deleted.

0 comments on commit 96ccb4a

Please sign in to comment.