Run website on another machine

Hello,
I wonder if somebody can help me understand how to run my app on another machine. what do I need to to move/install on the other machine to make my app works? I am new to Wappler and excuse my ignorance.

Can you please make it more clear, do you try to deploy it on hosting service or just moving it to another local machine?

Hello,
Just move it to another machine

To include more details about the project, my project is dynamic and connects to mysql databas. If I move the project folder to any other machine, it won’t run.

Install the docker on the second machine you want to deploy on it, then use the backup command in docker and restore on new machine.more details in this link
Docker backup and Restore image
That what i do, but maybe there’s easier way

Post in stack over flow may help you

Great, I will give it a shot and let you know. Thank you for your help!

1 Like

Install Wappler in the other machine.
Copy the project folder (without node_modules, if exists) and copy the .docker folder from C:/Users/user-name/.docker into the second machine.
Then, just open project in Wappler second system & hit deploy and it should start working.

@sid, thank you for your response .
Does that mean I have to use docker? Can I skip docker? I am planing to build web apps or website that will be running on customer servers locally which most of them won’t allow me to install third party software.

You can skip docker. If your current project isn’t using docker. Then you just need to copy the project folder on your other machine and open from wappler. It’s simple without docker.

The target settings in your screenshot showed Docker & NodeJS… so I replied accordingly.
If you are just using local deployment/server without Docker, its as simple as opening the folder in the other machine. No additional setup is required.

Using Docker is optional with Wappler.

@nshkrsh, could you please send me a screen shot of how would my project setting would look like. I assume I would use own server instead docker, correct?

an example

@nshkrsh Thank you!
So, do you think it would still work if I uninstall wappler after I run the app on the new machine? If thats not the case then that means I would have to buy wappler for every machine I build an app for it.

1 wappler license can be installed on multiple machines. It’s not machine specific license. It’s user specific. As long as you are using Wappler on 2 devices - it’s good with 1 license.

After you uninstall wappler, localhist:3000 won’t work. Coz wappler has the nodejs server built in. You will have to create nodejs server on each machine - which can be done without any license fee - but you’ll have to learn how to do that. With the official nodejs installer and pm2 it can be done.

Also, why would you not host the app on the cloud? That would not require for you to install the app for each instance separately.

The customers i am planing to use wappler for won’t like putting their web apps on the internet because its their building automation systems. They prefer to keep it offline and only accessible internally that way its secure

Not having dependency to install wappler on each machine is desirable in that case. You’ll have to figure out how to run the project folder as an independent nodejs app. It’s possible. And simple.

How would I do that? Any resources if you don’t mind?

I am surprised that wappler doesn’t come with a stand alone server were you can install separately