Installation
- Login to the client area on our web site.
- Upload your application to the root of your home directory using either FTP or the File Manager in your client area. In the following examples, we'll assume your application is in the /app folder.
- In the client area, go to the Hosting section of your dashboard. Then under the Advanced column, click on Node.js Deployment.
- Click on the CREATE APPLICATION button.
-
You will be prompted to configure your application:
Node.js Version: Choose the version of Node.js you want to use for your application. We recommend the latest stable version that matches your app's requirements.
Application Mode: Select whether the application should run in Development or Production mode.
Application Root: This is the directory where your application files will be stored. You can either use an existing directory or create a new one. (e.g., /app)
Application URL: Define the URL path where your application will be accessible (e.g., https://example.com/app).
Application Startup File: Enter the name of the file that will start your application (e.g., app.js or server.js).
- Click the Create button to complete the creation.
- To install any dependencies your application may have, click the Run NPM Install button.
- Finally, click the Run JS Script button next to the Application Startup File to start your application.
Managing and Monitor your Application
After the installation your application, you can always return to the Node.js Deployment section to manage your application.
Here you'll find these tools:- Restart Application: If you make changes to your source code, you can restart the application using the Restart button.
- View Logs: To troubleshoot any problems, use the Error Log or Access Log links to view your application logs.
- Change Node.js Version: If you need to change which version of Node.js your application use. You can stop your application, then select a new version of Node.js, and then restart your application.