diff --git a/config/environment.js b/config/environment.js index a078e32..a3f7afd 100644 --- a/config/environment.js +++ b/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'); diff --git a/package.json b/package.json index 1712fc8..209b8a8 100644 --- a/package.json +++ b/package.json @@ -1,4 +1,4 @@ -{ "name": "RWJS" +{ "name": "railwayjs.com" , "version": "0.0.1" , "engines": ["node >= 0.4.0"] , "main": "server.js" @@ -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/*/*"