- Best Practices for Managing Configuration File Precedence
Describes the best practices for managing the configuration order for Portable Apps Distribution.
Portable App Distribution provides a flexible and straightforward method for isolated server-based deployments. By enabling customers to generate a bundled artifact packaged as a .zip file and run it directly, Portable App Distribution simplifies the deployment process.
Portable App Distribution offers the following benefits:
You can test Portable App Distribution on a Free App. For more information about Free Apps and their limitations, as well as licensing apps outside of the Mendix Cloud, see Licensing Apps.
To license a Mendix app on the Portable App Distribution, add it to your configuration. For more information, see Obtaining a Mendix License.
The Portable App Distribution functionality is available for Mendix Studio Pro version 11.9, 11.6.5 MTS, or above. The functionality will be enabled for more Studio Pro versions in future releases.
You must also ensure that you have the supported version of Java Runtime Environment.
In most production environments, deployment packages are created by using the Mx-Build command-line tool. However, you can also manually create a deployment package if required, for example, for a local test deployment.
After you create the Portable App Distribution file, deploy it to your environment.
To run your app locally, perform the following steps:
Extract ..\releases\YourApp_portable_YYYYMMDD_hhmm.zip to a local folder.
Set the M2EE_ADMIN_PASS admin port password by performing one of the following actions:
set M2EE_ADMIN_PASS=<your password>export M2EE_ADMIN_PASS=<your password>Run the app by using one of the following commands:
<your folder location>\bin\start.bat<your folder location>\bin\start.ps1<your folder location>\bin\startchmod +x ./bin/start first.
For more information about deploying to a self-hosted environment, refer to the following topics:
Describes the best practices for managing the configuration order for Portable Apps Distribution.
Describes the folder structure and commmand line parameters for the Portable Apps Distribution deployment method for Mendix apps.