use standard environments

This commit is contained in:
William Welling
2021-12-04 10:37:56 -06:00
parent c1555326fa
commit 71f5b46639
30 changed files with 963 additions and 861 deletions

View File

@@ -1,11 +1,16 @@
import { environment } from '../src/environments/environment';
import * as child from 'child_process';
import { environment } from '../src/environments/environment';
// import { AppConfig } from '../src/config/app-config.interface';
// import { buildAppConfig } from '../src/config/config.server';
// const appConfig: AppConfig = buildAppConfig();
/**
* Calls `ng serve` with the following arguments configured for the UI in the environment file: host, port, nameSpace, ssl
* Calls `ng serve` with the following arguments configured for the UI in the environment: host, port, nameSpace, ssl
*/
child.spawn(
`ng serve --host ${environment.ui.host} --port ${environment.ui.port} --servePath ${environment.ui.nameSpace} --ssl ${environment.ui.ssl}`,
`ng serve --host ${environment.ui.host} --port ${environment.ui.port} --serve-path ${environment.ui.nameSpace} --ssl ${environment.ui.ssl}`,
{ stdio:'inherit', shell: true }
);