mirror of
https://github.com/pawelmalak/flame.git
synced 2025-07-23 13:29:35 +02:00
fix integrations
This commit is contained in:
parent
e5154576b4
commit
e7cd4d7705
21 changed files with 125 additions and 63 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue