I can’t understand how to install Strapi on CPanel? Obviously, I need an Application startup file (like app.js) but there is none on Strapi. If there is another method than creating an Application startup file, I have SSH access but I don’t know how to do it… I’m new to NodeJS development so if you have a solution, it would be cool to be ample in explanation XD !
The NodeJS configuration panel screenshot
Thanks !
2
Answers
From the strapi docs, it says you can create a
server.js
file in order to startup withnode server.js
instead ofnpm start
. Populate it with the following:i.e. point to this server.js file as the application startup file in cPanel.
Following up @tsams’ answer, these are the updated link for deployment requiring an application startup file like cpanel: