Step 2: Deploying applications

Introduction

Applications are not meant to be installed by manually copying files.

Applications must be packaged and distributed in TGZ archives an then can be deployed inside Innomatic. 

Applications can be deployed and updated with the following methods:

  • From Innomatic Root Desktop
  • From AppCentral repositories
  • From CLI
  • From PHP code

Deploying applications from Root Desktop

The most simple method for deploying applications is through the Applications panel in Innomatic Root Desktop, under the Innomatic menu. You just upload the application archive and execute the install operation.

Deploying applications from AppCentral

Applications can be installed from remote repositories called AppCentral through web services. The system works like Debian apt-get tool and is accessed under Applications panel in Innomatic Root Desktop.

Innomatic provides a list of public AppCentral repositories. Other vendors may provide their own AppCentral repositories.

Deploying applications from CLI

Innomatic provides a script in PHP for deploying and updating applications from CLI:

php core/scripts/application.php deploy <application_archive.tgz>

The script can also be used to remove applications:

php core/scripts/application.php undeploy <application_name>

Please note that the script must be executed with the same user of the web server.

Next: Step 3: Enabling applications to tenants