Run website on another machine

Well Wappler has a built in NodeJs server which requires you to install nothing additional.

If you want to move your project on another machine, then you can use git:

push the project to a remote repository:

and then pull it from there on your second computer:

install nodejs on your machine.
open terminal/cmd
change directory to the root of your project folder
run command: node index.js
that is it. app should start running on localhost:3000

you can start nodejs app via pm2 (FOSS) (https://pm2.keymetrics.io/) for more control, etc.

download the executable from nodejs.org - that is the stand alone server to run nodejs apps.
Wappler uses that itself.
this is the way. and eaasuer for you coz then you do not have to install wappler on each machine where you have to run nodejs app. just install nodejs itself. and voila.

@Teodor that’s great! now I know how to share the project with other team members. that’s awesome!

what I need though is to run my dynamic website on another machine without using docker. the website I built is very simple, I just have one variable that comes from a remote MySQL database. if I just simply move the project folder to my other machine and go to localhost:8100 it doesn’t open the page. I know I have to have a server but not sure how to do that. here are some screen shots for my project setup

I do have node.js installed but it still doesn’t work.

I tried pm2 and no luck. my project is web app not desktop app, not sure if it matters or not!

I tried this and it WORKED.