blob: d96e0df16275efc25a7c67f9a3ed5909c19c09b3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
/**
* Server configuration script, to (re)configure server options
* @author Marzavec ( https://github.com/marzavec )
* @version v2.0.0
* @license WTFPL ( http://www.wtfpl.net/txt/copying/ )
*/
// import required classes
import { join } from 'path';
import ConfigManager from '../serverLib/ConfigManager';
import SetupWizard from './configLib/SetupWizard';
// import and initialize configManager & dependencies
const serverConfig = new ConfigManager(join(__dirname, '../..'));
const setup = new SetupWizard(serverConfig);
setup.start();
|