17 lines
395 B
JavaScript
17 lines
395 B
JavaScript
|
|
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); |