initial commit

This commit is contained in:
Blue 2018-08-05 00:46:25 +03:00 committed by Юрий Губич
commit 4b60ece582
327 changed files with 28286 additions and 0 deletions

View file

@ -0,0 +1,4 @@
cmake_minimum_required(VERSION 2.8.12)
configure_file(index.js index.js)
configure_file(config.json config.json)

View file

@ -0,0 +1,9 @@
{
"webServerPort": 3000,
"webSocketServerPort": 8081,
"version": "0.0.2",
"build": "debug",
"httpLog": false,
"testing": true,
"modelDestructionTimeout": 120000
}

8
magnus/config/index.js Normal file
View file

@ -0,0 +1,8 @@
var nconf = require("nconf");
var path = require("path");
nconf.argv()
.env()
.file({file: path.join(__dirname, 'config.json')});
module.exports = nconf;