Packaging and copying the client app

To deploy the client app from the development PC to the remote Web server, you can choose:

  • Method 1: Deploy the client app to the remote server through the FTP protocol. This requires that

    1) An FTP server is set up on the Web server (the FTP server's physical path must point to the Web root of the Nginx HTTP server which is /usr/share/nginx/html by default).

    2) The client app is deployed to the remote Web server through the FTP server.

  • Method 2: Package the client app and then install (or copy) it to the remote Web server.

    Follow the instructions in Packaging and copying the client app to package and copy the client app to the Web root of the Nginx HTTP server: /usr/share/nginx/html.