1
0
Fork 0
mirror of https://github.com/pawelmalak/flame.git synced 2025-07-23 13:29:35 +02:00

fix integrations

This commit is contained in:
François Darveau 2021-12-08 17:33:30 -05:00
parent e5154576b4
commit e7cd4d7705
21 changed files with 125 additions and 63 deletions

View file

@ -13,6 +13,7 @@ const Sockets = require('./Sockets');
// Utils
const initApp = require('./utils/init');
const initIntegrationsApps = require('./utils/init/initIntegrationsApps');
const Logger = require('./utils/Logger');
const logger = new Logger();
@ -22,7 +23,10 @@ const logger = new Logger();
// Init app
await initApp();
await connectDB();
await associateModels();
await associateModels();
// Load apps to create/update apps from integrations (Docker, Kubernetes, etc.)
await initIntegrationsApps();
// Create server for Express API and WebSockets
const server = http.createServer();