Skip to content

Commit

Permalink
Removed the dir 'fakecollector_and_dump'.
Browse files Browse the repository at this point in the history
Updated the 'app.js' file, changing the call that remove the logs from 'socket.io' package, that has been modified in the new version of the package.
Specified the 'socket.io', 'jade', 'json2csv' versions in the package.json file.
  • Loading branch information
gustavovaliati committed Sep 24, 2014
1 parent 023ad87 commit 560e364
Show file tree
Hide file tree
Showing 21 changed files with 5 additions and 71 deletions.
7 changes: 2 additions & 5 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ var express = require('express')
// Socket.io
var http = require('http');
var server = http.createServer(app);
var io = require('socket.io').listen(server);
var io = require('socket.io').listen(server, {log: false});

MongoClient.connect('mongodb://localhost:27017/rfidmonitor', function(err, db) {
"use strict";
Expand All @@ -60,10 +60,7 @@ MongoClient.connect('mongodb://localhost:27017/rfidmonitor', function(err, db) {
if ('development' == app.get('env')) {
app.use(express.logger('dev'));
app.locals.pretty = true;

io.configure('development', function () {
io.disable('log');
});

}

// Application routes
Expand Down
Binary file not shown.

This file was deleted.

Binary file removed fakecollector_and_dump/dump/rfidmonitor/images.bson
Binary file not shown.

This file was deleted.

Binary file not shown.

This file was deleted.

Binary file not shown.

This file was deleted.

Binary file removed fakecollector_and_dump/dump/rfidmonitor/sessions.bson
Binary file not shown.

This file was deleted.

Binary file removed fakecollector_and_dump/dump/rfidmonitor/species.bson
Binary file not shown.

This file was deleted.

Binary file not shown.
Binary file not shown.

This file was deleted.

Binary file removed fakecollector_and_dump/dump/rfidmonitor/users.bson
Binary file not shown.

This file was deleted.

55 changes: 0 additions & 55 deletions fakecollector_and_dump/fake_collector.sh

This file was deleted.

Empty file.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
"consolidate": "~0.9.1",
"express": "~3.0",
"mongodb": "~1.3.9",
"jade": "*",
"jade": "1.7.0",
"validator": "~1.1.3",
"socket.io": "*",
"json2csv": "*"
"socket.io": "1.1.0",
"json2csv": "2.2.1"
},
"repository": "",
"author": "Luis Valdes <[email protected]>",
Expand Down

0 comments on commit 560e364

Please sign in to comment.