blob: d7f2bf2f82196b804c4d2bf3cd2ff33011f534e5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
/**
* Server configuration script, to (re)configure server options
*
* Version: v2.0.0
* Developer: Marzavec ( https://github.com/marzavec )
* License: WTFPL ( http://www.wtfpl.net/txt/copying/ )
*
*/
'use strict';
// import required classes
const path = require('path');
const ConfigManager = require('../serverLib/ConfigManager');
const SetupWizard = require('./configLib/SetupWizard');
// import and initialize configManager & dependencies
const serverConfig = new ConfigManager(path.join(__dirname, '../..'));
const setup = new SetupWizard(serverConfig);
setup.start();
|