To import your nodejs site to Plesk, follow the instructions below:
- Log in to your Plesk hosting;
- Click on Files;
- Upload your project archive to the main directory;
- Unzip your project archive;
- Delete the index file contained by default in the "httpdocs" directory;
- Create an "app" directory in the "httpdocs" directory;
- Click on "Websites and Domains";
- Under "Development Tools" Click on "node.js;
- At the Root level of the document define the directory /httpdocs/app;
- Define the Root of the application;
- Define the Startup File of the application of your project;
- Click on the "Activate Node.js" button;
- Click on the "Start Script" button;
- In the path "Parameters and name of the script" enter "build";
- Click on the "Run" button;
- Click on the "Yarn Install" button;
- Open your site in your browser.