Publish Application in On-Prem

In order for an application developed with Kuika to be published on On-Prem, you need to prepare an appropriate configuration for the Configuration Manager module. After preparing the configuration settings, you can follow these steps:

  1. After logging into the Kuika platform, open the project you want to publish from the “Apps” screen.
  1. Click on the “Rocket” icon in the upper right corner.
  2. Select the relevant configuration setting on the screen that opens.
  3. Then click on the “Publish” button.
  4. After clicking the Publish button, “Build” files of the application will be sent to your e-mail.

Publishing Your Application on Windows Server with IIS

You can install the applications you develop with Kuika on a Windows or Linux based server. You can follow the steps below to install IIS on a Windows-based server:

  1. Installation of Required Plugins
  • URL Rewrite: You should install this plugin to perform routing operations of applications written with React on IIS. Download the URL Rewrite plugin.
  • .Net Runtime: Since the backend of the application developed with Kuika is created with “.Net 6”, you should install the relevant “.Net Runtime” package on the server. Download the .Net Runtime package.

  1. Frontend and Backend Deployment
  • On the Kuika platform, click on the rocket icon in the upper right corner and select the generated configuration. A “.zip” of the backend and UI (User Interface) files of the application will be sent to your email.
  • On the IIS server, create a directory named “projectname” to copy the UI files.
  • To copy the backend files, create a directory named “projadiapi” by adding “api” to the end of the “projadi” directory. Then open the “.zip” files in these directories.
  1. Creating a Web Site and Application Pool on IIS
  • Create the “projadiapi” web page with the “Add Web Site” option under IIS.
  • At the same time, an Application Pool named “projeadiapi” will be created.
The point you should pay attention to here is that the Application Pool you created for the backend should be “No Managed Code”.
  1. Checking Backend Working Status
  • Right click on “Projeadiapi” and select “Browse”. In the browser that opens, type “/swagger” at the end of the address to check the working status of the backend.
  1. Opening the Web Page on the UI Side
  • Once the backend is up and running, you can start opening the web page on the UI side.
  • You can configure IIS by following the steps given above. Your application will run smoothly.

You can also deploy your application on the Linux operating system or with Docker. If you want to deploy with Docker, you can find a sample Docker file in the email from the first step.