Phase E — Gathers configuration and generates .env, mj.config.cjs, and Explorer environment files.
.env
mj.config.cjs
const configure = new ConfigurePhase();const result = await configure.Run({ Dir: '/path/to/install', Config: { DatabaseHost: 'localhost' }, Yes: false, Emitter: emitter,});console.log(`Created: ${result.FilesWritten.join(', ')}`); Copy
const configure = new ConfigurePhase();const result = await configure.Run({ Dir: '/path/to/install', Config: { DatabaseHost: 'localhost' }, Yes: false, Emitter: emitter,});console.log(`Created: ${result.FilesWritten.join(', ')}`);
Execute the configure phase: resolve config, generate files.
Configure input with directory, partial config, mode, and emitter.
The fully resolved config and list of files written.
Phase E — Gathers configuration and generates
.env,mj.config.cjs, and Explorer environment files.Example