updated .gitignore file
This commit is contained in:
parent
9933211290
commit
3b35989ba3
@ -10,9 +10,9 @@
|
||||
"script": "web-server.js",
|
||||
"cwd": "/var/www/silvrtree",
|
||||
"watch": true,
|
||||
"max_restarts": 10,
|
||||
"ignore_watch" : ["node_modules"],
|
||||
"merge_logs" : true,
|
||||
"autorestart" : false,
|
||||
"autorestart" : true,
|
||||
"restart_delay" : 3500,
|
||||
"max_memory_restart" : "300M",
|
||||
env: {
|
||||
|
@ -7,6 +7,8 @@ var express = require('express'), path = require('path'), http = require('http')
|
||||
//train = require('lib/train')
|
||||
/* ,submit = require('./routes/mongo/submit') */
|
||||
;
|
||||
|
||||
var logger = require('log4js').getLogger();
|
||||
var app = express();
|
||||
GLOBAL.lastcheck = 0;
|
||||
var btcCache = {}, fxCache = {} , trainCache = {};
|
||||
@ -102,5 +104,6 @@ app.use('/btc', btc.doBTC);
|
||||
* create the server
|
||||
*/
|
||||
http.createServer(app).listen(app.get('port'), function () {
|
||||
console.log("Express server listening on port " + app.get('port'));
|
||||
logger.info("Express server listening on port " + app.get('port'));
|
||||
//console.log("Express server listening on port " + app.get('port'));
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user