Skip to content

Commit

Permalink
Turn logging on
Browse files Browse the repository at this point in the history
  • Loading branch information
1602 committed Feb 9, 2012
1 parent 9fc1a34 commit 89215b3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 6 additions & 0 deletions config/environment.js
@@ -1,6 +1,12 @@
var express = require('express');
var fs = require('fs');

require('railway-monitor').init(app, {
appKey: '52bd4bb6-0b87-4d59-b46c-7a921b1abbe6',
host: 'node-js.ru',
port: 1678
});

app.configure(function(){
app.use(express.static(app.root + '/public'));
app.set('views', app.root + '/app/views');
Expand Down
6 changes: 4 additions & 2 deletions package.json
@@ -1,4 +1,4 @@
{ "name": "RWJS"
{ "name": "railwayjs.com"
, "version": "0.0.1"
, "engines": ["node >= 0.4.0"]
, "main": "server.js"
Expand All @@ -13,7 +13,9 @@
, "mime": ">= 1.2.2"
, "qs": ">= 0.1.0"
, "railway-monitor": "*"
, "mongoose": "*"
}
, "repository":
{ "url": "git@github.com:anatoliychakkaev/rwjs.git"
}
, "scripts":
{ "test": "nodeunit test/*/*"
Expand Down

0 comments on commit 89215b3

Please sign in to comment.