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