Application Manager
This interface lets you deploy your applications using the Phusion Passenger application server, which manages your application's processes and acts as a reverse proxy in front of it, receiving visitor requests and passing them on to the application.
This interface only appears if the required packages are installed on the server (the Passenger module and Node.js or Python support). If you can't find it in cPanel and you need it, ask about its availability through a support ticket.
Applications table
For each application, the table shows the name, domain, path (where the source code lives, relative to your home directory), status (enabled or disabled), and the available actions: Edit, Unregister, and Ensure dependencies (to install the application's npm dependencies when needed).
Create an application
You must create the application before you register it in the Application Manager. For example, you can clone an application from GitHub through the Git Version Control interface, or create a new application directly on your server.
Any application you create through the Ruby Gem installation section of WHM's Module Installers interface will not work with the Application Manager.
Register an application
This feature automatically sets new applications to the latest version of Ruby available on your system (determined by the installed version of Passenger; you can't install more than one version of Passenger). The Ruby version of existing applications does not change automatically, and if you remove the Ruby version an application uses, it will stop working.
Click Register Application.
Enter the application name.
From the deployment domain menu, choose the main, addon or subdomain the application will be deployed on.
Enter the application's base URL (you'll use it to access the application after registration).
Enter the path to the source code directory, relative to your home directory.
Choose the deployment environment: Development if you're still developing the application, or Production if it's ready for real-world use.
To add environment variables, click Add Variable in the environment variables section.
Click Deploy.
Environment variables
To add environment variables, the Illevante team must install the Apache module that provides this.
Environment variables let you configure the processes the application runs on. The table shows the variable name (letters, numbers and dashes only, up to 256 characters, and it can't start with a number), the value (up to 1024 characters), and actions (edit or delete the variable).
Add a variable: Click Add Variable, enter the variable name and value, then click Save.
Edit an application
Find the application in the table, click Edit in the actions column, make the changes you need, then click Deploy.
Unregister an application
Unregistering an application removes it from the list and deletes its configuration file, but it does not delete the application itself.
Find the application in the table, click Unregister, then confirm by clicking Unregister again.
Log files
You can find your application's log files through the File Manager at the following paths (replace example with your application's directory name):
| Application | Log location |
|---|---|
| Node.js | example/logs/ |
| Python | example/stderr.log |
How is this guide?