mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-08 08:53:51 +00:00
03d5389540
* Create docker-ci.yml * docker build * add build app * path changes * delete double workflow * update docker run template * cleanup * resolve wierd path issue * wrong path * again wrong path * rename docker releases * move styles population and change to function call * re-add old build pipeline * rename buld file * feractor init function * refactor: startDb to initAssets * refactor: startDB to initAssets * fix: docker.cjs building whole app * fix: docker environment * update docker paths * update: build command * cleanup * cleanup: commented code --------- Co-authored-by: Fabian Posenau <fabian@fphome.de>
21 lines
532 B
TypeScript
21 lines
532 B
TypeScript
import { initAssets, startIntegrations, startOSCServer, startServer } from './app.js';
|
|
|
|
async function startOntime() {
|
|
try {
|
|
console.log('Starting Ontime');
|
|
console.log('Loading Assets');
|
|
await initAssets();
|
|
console.log('Starting Server');
|
|
await startServer();
|
|
console.log('Starting OSC Server');
|
|
await startOSCServer();
|
|
console.log('Starting Integrations');
|
|
await startIntegrations();
|
|
} catch (error) {
|
|
console.log('Error starting Ontime');
|
|
console.log(error);
|
|
}
|
|
}
|
|
|
|
startOntime();
|