- Server operating system version
- CentOS Linux 7.9.2009
- Plesk version and microupdate number
- 18.0.61
Hello Plesk Support Community,
I am currently facing challenges in deploying a React project on Plesk. I have seen multiple methods mentioned for deploying React apps, such as copying build files to httpdocs or setting up a Node.js environment directly in Plesk, but I am unclear on the best practices for this environment and how to handle Node.js updates within Plesk.
Could anyone guide me on the following:
1. What is the recommended method for deploying a React application in Plesk? Should I place the build files in the httpdocs directory, or is there a preferred method involving Node.js setups?
2. How can I update Node.js in Plesk to version 18 or higher? I need guidance on updating Node.js on a Plesk server as the default version does not meet my project’s requirements.
3. Current Environment: I am hosting a PrestaShop on my main domain and now I am experimenting with the React project on a subdomain (test.example.com). The idea is to switch that prestashop for the new website done in react
Any step-by-step instructions, links to relevant guides, or personal insights would be greatly appreciated as I navigate these challenges.
Thank you very much for your assistance.
I am currently facing challenges in deploying a React project on Plesk. I have seen multiple methods mentioned for deploying React apps, such as copying build files to httpdocs or setting up a Node.js environment directly in Plesk, but I am unclear on the best practices for this environment and how to handle Node.js updates within Plesk.
Could anyone guide me on the following:
1. What is the recommended method for deploying a React application in Plesk? Should I place the build files in the httpdocs directory, or is there a preferred method involving Node.js setups?
2. How can I update Node.js in Plesk to version 18 or higher? I need guidance on updating Node.js on a Plesk server as the default version does not meet my project’s requirements.
3. Current Environment: I am hosting a PrestaShop on my main domain and now I am experimenting with the React project on a subdomain (test.example.com). The idea is to switch that prestashop for the new website done in react
Any step-by-step instructions, links to relevant guides, or personal insights would be greatly appreciated as I navigate these challenges.
Thank you very much for your assistance.