Deploy the application On-Prem

To deploy an application developed in Kuika On-Prem, a suitable configuration should be prepared in Configuration Manager view mode.

After you have prepared your configuration setting, you can follow the steps below:

  1. Click on the Rocket icon located in the Header.

  2. In the pop-up screen, select the relevant configuration setting.

  3. Click on the Publish button.

After clicking the Publish button, you will receive the Build files of the application in your email.

With Kuika, you can install the applications you developed either on a Windows or a Linux-based server. In this content, the IIS installation on a Windows-based server will be discussed.

To deploy on a Windows-based server with IIS, follow the steps below:

Firstly, for installation on IIS, 2 plugins must be installed on the server where IIS is located.

  1. URL Rewrite: This plugin allows the Routing of applications written with React to be done on IIS. Click to access the relevant plugin package.

  2. .Net Runtime: Since the backend of an application developed with Kuika is created with .Net 6, the relevant package should be downloaded and installed on the server. Click to download the relevant package.

After installing these 2 packages on the server, you can proceed to the Frontend and Backend Deployment on IIS.

When you click on the Rocket icon, the created Config is selected.The Build files for the application, i.e., backend and UI (User Interface) files, will come zipped to your email.

Open a directory named “projectname” on the IIS server to copy the UI files.

To copy the Backend files, open a directory named by adding the word Api to the end of the directory name opened with the project name, i.e., “projectnameapi”. Create the directories under wwwroot. You should unzip the zip files into the relevant directories.

A website named “projectnameapi” is created under IIS with Add Website.

At the same time, an Application Pool named projectnameapi will be created. The important point to note here is that the Application Pool you created for Backend should be No Managed Code.

Right-click on projectnameapi and click Browse. Check the backend's working status by writing “/swagger” at the end of the address in the opened internet browser.

After bringing the Backend into a working state, the process of opening the web page on the UI side begins.

The procedures specified in the visuals given above should be followed and applied in order. Then, when IIS is configured, your application will run smoothly.

In addition, if you wish, you can also deploy your application on a Linux operating system or with Docker. If you want to Deploy with Docker, a sample Docker file is included in the email you received in the first step. You can use the relevant Docker file.

Last updated