Developing on Windows for Deployment on Linux

Q:

I developed a simple instant messaging tool using workerman-chat, but I'm using the Windows version. How can I deploy it in a Linux environment?

A:

There are two methods:

  1. Download the Linux version of workerman-chat, and then replace the files in your Applications folder with the new ones.

  2. Replace the Workerman directory with the Linux version of Workerman.

The second method is applicable for all cases of porting from Windows versions to Linux systems.