fix(all): Migration to Linus.
This commit is contained in:
parent
da881cbaaf
commit
d2b2f29d55
3 changed files with 7 additions and 6 deletions
|
@ -809,6 +809,7 @@ export class GBDeployer implements IGBDeployer {
|
|||
// Install modules and compiles the web app.
|
||||
|
||||
GBLog.info(`Installing modules default.gbui (It may take a few minutes)...`);
|
||||
child_process.execSync(`rm -r node_modules`, { cwd: root });
|
||||
child_process.execSync(`${npm} install`, { cwd: root });
|
||||
|
||||
GBLog.info(`Transpiling default.gbui...`);
|
||||
|
|
10
src/app.ts
10
src/app.ts
|
@ -159,6 +159,11 @@ export class GBServer {
|
|||
await deployer.deployPackages(core, server, GBServer.globals.appPackages);
|
||||
await core.syncDatabaseStructure();
|
||||
|
||||
// Deployment of local applications for the first time.
|
||||
|
||||
if (GBConfigService.get('DISABLE_WEB') !== 'true') {
|
||||
deployer.setupDefaultGBUI();
|
||||
}
|
||||
|
||||
GBLog.info(`Publishing instances...`);
|
||||
const instances: IGBInstance[] = await core.loadAllInstances(
|
||||
|
@ -192,11 +197,6 @@ export class GBServer {
|
|||
GBServer.globals.minService = minService;
|
||||
await minService.buildMin(instances);
|
||||
|
||||
// Deployment of local applications for the first time.
|
||||
|
||||
if (GBConfigService.get('DISABLE_WEB') !== 'true') {
|
||||
deployer.setupDefaultGBUI();
|
||||
}
|
||||
|
||||
GBLog.info(`The Bot Server is in RUNNING mode...`);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue