Using the Node.js application registration tool

The application registration feature streamlines the management of your Node.js applications, making it easy to organize and control your projects. 

Requirements for an Application to be Discoverable

  1. A .env file is required in the document root of the application with a port number specified.
  2. An ecosystem.config.js is required in the document root of the application with your application name specified:
module.exports = {
 apps: [
   {
     name: 'My App',
     cwd: '/home/virtual/vps-abbd2c/3/33d9a261cc/public_html',
     script: 'npm',
     args: 'start',
     env: {
       NODE_ENV: 'production',
     },
     exp_backoff_restart_delay: 100,
   },
 ],
};

Follow these steps to use the tool effectively:

Step 1: Discovering Your Applications

  1. Navigate to the Node.js Application Registration Tool.
  2. Initially, no applications will be discovered.
  3. Click the “Discover applications” button.
  4. The tool will scan your web space to detect any Node.js applications.

Step 2: Application Discovery in Progress

  • The tool will display a status indicating that it’s actively discovering applications.
  • Please wait for the process to complete before proceeding.

Step 3: Managing Your Applications

  • Once the scan is done, the tool will list the discovered Node.js applications under “Registered Applications.”
  • You can:
    • View detailed information about each application.
    • Navigate directly to the application files using the “View in File Manager” link.
    • Unregister an application if needed by clicking “Unregister Application.”
    • Use the “Rediscover applications” button to refresh the list and detect any new additions or changes.

Additional Information and Support

  • Each application’s details include the path to its main executable file (e.g., app.js).
  • If you modify your web space or add new Node.js applications, use the “Rediscover applications” button to update the information.
  • 0 brukere syntes dette svaret var til hjelp
Var dette svaret til hjelp?

Relaterte artikler

Getting started with a Laravel Managed Cloud Server

Laravel on alttrixcloudCloud, AWS or Google Cloud With a alttrixcloud Managed Cloud Server you...

Managed Magento Hosting requirement for ecommerce sites

As an ecommerce platform Magento is one of the best known solutions to manage online stores of...

Do I get free email with Managed Cloud Servers?

With our Managed Cloud Servers, you can take full advantage of our high-end clustered email...

What Cloud Server regions are available?

Our Cloud Servers are located across 60+ data centres, powered by alttrixcloudCloud, AWS and GCP....

Change your Laravel .ENV file configuration through the control panel

The Laravel .env file is a configuration file that contains environmental variables for your...