2020-07-14 10:10:01 +02:00
|
|
|
const fixPath = require("fix-path")
|
2021-03-19 15:43:41 +01:00
|
|
|
const { checkDevelopmentEnvironment } = require("./utilities/fileSystem")
|
2020-06-15 18:06:54 +02:00
|
|
|
|
2021-03-19 15:43:41 +01:00
|
|
|
function runServer() {
|
|
|
|
// this will shutdown the system if development environment not ready
|
|
|
|
// will print an error explaining what to do
|
|
|
|
checkDevelopmentEnvironment()
|
2020-07-14 10:10:01 +02:00
|
|
|
fixPath()
|
2020-07-16 15:27:27 +02:00
|
|
|
require("./app")
|
2020-06-15 18:06:54 +02:00
|
|
|
}
|
|
|
|
|
2020-07-16 16:19:46 +02:00
|
|
|
runServer()
|