linx-simulator2/index.js

17 lines
395 B
JavaScript
Raw Normal View History

2019-09-18 08:11:16 +00:00
const config = require('config');
const Simulator = require('./src/simulator');
// Read configs.
let configs = {
mumble: config.get('mumble'),
hub: config.get('hub'),
api: config.get('api'),
assets: config.get('assets'),
sounds: config.get('sounds'),
settings: config.get('settings'),
}
// Start simulation.
console.log('Starting simulation...');
var simulator = new Simulator(configs);