Installing and updating applications

Introduction

Applications are not meant to be installed by manually copying files but must be packaged and distributed in TGZ archives. 

Applications can be deployed and updated with the following methods:

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

Installing and updating 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.

Installing and updating 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.

Installing and updating 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.