16 lines
449 B
TypeScript
16 lines
449 B
TypeScript
import { bootstrap } from "global-agent"
|
|
const fixPath = require("fix-path")
|
|
const { checkDevelopmentEnvironment } = require("./utilities/fileSystem")
|
|
|
|
function runServer() {
|
|
// this will shutdown the system if development environment not ready
|
|
// will print an error explaining what to do
|
|
checkDevelopmentEnvironment()
|
|
fixPath()
|
|
// this will setup http and https proxies form env variables
|
|
bootstrap()
|
|
require("./app")
|
|
}
|
|
|
|
runServer()
|