Step 3: Enabling applications to tenants
Introduction
Once an application has been deployed inside Innomatic, it can be enabled to the the tenants.
Some applications only provide platform-wide extensions (like libraries of code, Root utilities, etc.) and cannot enabled to tenants.
You can enable applications:
- From Root Desktop
- From CLI
- From PHP code
Enabling applications to tenants from Root Desktop
In the Root Desktop you can enable applications by entering the Tenant panel in Innomatic menu, and then clicking on the Applications button aside the destination tenant.
In the tenant applications list you can enable and disable applications.
Enabling applications to tenants from CLI
Innomatic provides a script in PHP for enabling applications to tenants from CLI:
php core/scripts/tenant.php appenable <tenantname> <appname>
The script can also be used to disable applications from tenants:
php core/scripts/tenant.php appdisable <tenantname> <appname>
You can also retrieve the list of already enabled applications:
php core/scripts/tenant.php applist <tenantname>
Please note that the script must be executed with the same user of the web server.