-
Notifications
You must be signed in to change notification settings - Fork 10
v4.0 Installer
The installer hook is invoked each time Mongoose runs. However, installer may do no persistent changes if all required/supplementary files are already installed.
-
Installer loads the default configuration from the resources to determine the version. The version is used to determine the Mongoose home path which is
<USER_HOME_DIR>/.mongoose/<VERSION>
. -
Installer copies the required and supplementary files into the Mongoose home. These files are default configuration, custom content files, scenarios and extensions.
Note: the file is not overwritten if the file with the same name alrady exists in the Mongoose home directory.
-
Initial configuration schema is being resolved and loaded.
-
Initial default configuration is being loaded.
-
Installer copies the resolved Mongoose extensions to the
<USER_HOME_DIR>/.mongoose/<VERSION>/ext
directory. -
Then each extension installs itself. The Mongoose home directory is passed as an argument for the extension installer hook. The extension inherits the basic installer functionality to copy the specific files for the given extension.
-
Each extension provides its own defaults configuration (if any) from the installed file (usually
<USER_HOME_DIR>/.mongoose/<VERSION>/config/defaults****.json
).
- Overview
- Deployment
- User Guide
- Troubleshooting
- Reference