Node js is a popular modern technology that is implemented in JavaScript for creating web applications. It is ideal for applications with high input-output (for example, online chat, resources with streaming video). Node js is open source, completely free and is in great demand among developers around the world.
With cPanel, you can deploy your Node js on the hosting. It is much easier and faster through the panel. The HyperHost company provides support for the Node js module on virtual hosting plans , VPS/VDS with cPanel.
Adding a Node js Application
First of all, log into your cPanel account.
From the main page of the “Software” block, go to “Configuring Node js applications” .
Create a new project using the “Create application” button .
In the opened window, fill in the form field.
Node js version - from the drop-down list you need to select the Node js version of your project.
Application Mode - Select the state of the application (under development or ready for deployment to production).
Application root directory - we specify the folder on the hosting where the application files will be uploaded later.
Application URL - we set the address at which the application will open relative to your domain.
Application startup file - the name of the file that will be executed first when the application is launched (with the .js extension).
Passenger log file - path to the file where the logs will be stored.
We check all the data and to complete the creation, click on the “Create” button .
6. After that, you can enter the jamaica whatsapp data URL value and open the application test page, where the line “It works!” and the specified version of Node js will be indicated.
7. Upload the project files to the root directory of the application.
8.Next, you need to install the NPM packages specified in the package.json file for the application to work correctly.
This can be done through the “Action” option . Through this option, you can edit the data entered earlier for the project, manage the application (enable/disable, restart, delete, etc.). To install NPM packages, select the “Edit application” action , in the open tab, click on the “ Install NPM packages ” button.
Installing on cPanel Hosting
-
- Posts: 1166
- Joined: Mon Dec 23, 2024 3:33 am