Deploying the client app to Web server (for end users)

After you distribute the client app package to the end user, the end user will need to deploy the client app to the Web server (such as IIS, Apache, or Nginx).

To deploy the client app to the Web server:

  1. Set up a Web server by following instructions in the tutorial Setting up a Web server.

  2. Install the client app to the Web server.

    • If the end user has the executable installer ([appname]_Installer.exe), then

      To run the executable installer, double click the [appname]_Installer.exe file, then input the Web root of the Web server, and then click Install. Wait until the installation completed.


      The end user should be able to see two folders installed under the Web root (as shown in the figure below):

      1. the "CloudAppPublisher" folder which contains the cloud app launcher and the PowerServer runtime files; and

      2. the application folder (named after the App name configured in IDE) which contains the application files.

    • If the end user has the executable installer ([appname]_Installer.zip), then

      To de-compress the zip package, right click the [appname]_Installer.zip file and select Extract. The end user should get two extracted folders ("CloudAppPublisher" and the application folder). Copy these two folders to the Web root of the Web server, as shown in the figure below.


Note

Do not manually change the name of the application folder on the server, otherwise the application uninstall program will fail to run.