Deployment

Hi there,

I have my Wordpress site in a subfolder inside Azure server and I’m about to deploy the react version to the root of the domain.
Azure runs nodejs and I would like to know if my site will run just uploading the files from the build folder or I have to do something else to make it work.

Kind regards,

Fernando

I would also like to know how to do it.
I tried it like a regular react app with azure app service, and it didn’t work. Returned 404.
I also tried to run npx frontity serve on the remote ssh but got

npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/fronity - Not found
npm ERR! 404 
npm ERR! 404  '[email protected]' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2022-12-22T17_33_06_125Z-debug.log
Install for [ '[email protected]' ] failed with code 1

Considering I have credits on Azure, it would be the place I could host it, my Wordpress installation is also on Azure, so if it doesn’t work there, it makes the use of Fronity not viable for me.