|
@@ -1,7 +1,11 @@
|
|
|
|
+import { Env } from '../src/Bootstrap/Env'
|
|
import { HomeServer } from '../src/Server/HomeServer'
|
|
import { HomeServer } from '../src/Server/HomeServer'
|
|
|
|
|
|
const homeServer = new HomeServer()
|
|
const homeServer = new HomeServer()
|
|
|
|
|
|
|
|
+const env: Env = new Env()
|
|
|
|
+env.load()
|
|
|
|
+
|
|
Promise.resolve(
|
|
Promise.resolve(
|
|
homeServer.start({
|
|
homeServer.start({
|
|
dataDirectoryPath: `${__dirname}/../data`,
|
|
dataDirectoryPath: `${__dirname}/../data`,
|
|
@@ -9,6 +13,7 @@ Promise.resolve(
|
|
// eslint-disable-next-line no-console
|
|
// eslint-disable-next-line no-console
|
|
console.log(chunk.toString())
|
|
console.log(chunk.toString())
|
|
},
|
|
},
|
|
|
|
+ environment: env.getAll(),
|
|
}),
|
|
}),
|
|
).catch((error) => {
|
|
).catch((error) => {
|
|
// eslint-disable-next-line no-console
|
|
// eslint-disable-next-line no-console
|