Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Manual installation requires the following dependencies before continue continuing to install

Installation steps

...

2. Extract the zip package

Create an installation directory with full permissions. Avoid using space or special characters in directory namenames. This directory will be referenced as <installdir> in next steps.

Extract the zip package to the installation directory.

3. Set database connection

...

Example <installdir>/Configuration/appsettings.json file to set a database connection for host administration;

Code Block
languagejs
{
  "DbConnStr": "Host=sqlserver;Database=EMAKIN;Username=emakin;Password=emakin;",
  "ProxyUri" : ""
}

Please see see the Configuration Settings page for further details.

...

Emakin listens from 80, 443, 5000 and 7180 port numbers by default. 80 and 443 are used for standard web access. 5000 7180 port is used for host administration panel access and must be accessible only from localhost.

If you have another application running on your server using the same ports, you need to change port numbers from <installdir>/Configuration/appsettings.json configuration file.

Expand
titleHow to set web access port numbers
  1. Edit <installdir>/Configuration/appsettings.json file.

  2. Add the following setting in the configuration file and change (http) 80 or (sslSSL) 443 numbers to free ports on your server. In this example, we change the http port to 800 and ssl SSL port to 4430.

    Code Block
    {
      "Web": {
        "Kestrel": {
          "Endpoints": {
            "Http": {
              "Url": "http://*:800"
            },
            "Https": {
              "Url": "https://*:4430"
            }
          }
        },
       }
    }
Expand
titleHow to set host administration port number
  1. Edit <installdir>/Configuration/appsettings.json file.

  2. Add the following setting in the configuration file and change host administration (50007180) to free ports on your server. In this example, we change host administration to 50017181.

    Code Block
    {
      "HostAdmin": {
        "Kestrel": {
          "Endpoints": {
            "Http": {
              "Url": "http://*:50017181"
            }
          }
        },
       }
    }

4. Install Services (Windows Only)

Emakin Agent service is the main executable for web access and scheduler for background jobs. 

Expand
titleInstall Emakin Agent Service

Execute the following command to install the emakin agent as a service.

Code Block
languagebash
.\AltiKare.Workflow.Agent.exe install

...

Expand
titleInstall BaseX Service

Execute the following command to install the BaseX service.

Code Block
languagebash
.\AltiKare.Workflow.Agent.exe basex
Expand
titleInstall Redis Service

Execute the following command to install the BaseX service.

Code Block
languagebash
.\AltiKare.Workflow.Agent.exe redis

5. Start Web Server in Console Mode

Its It is recommended to start the agent in console mode with only the web server for the first run to ensure all configuration is valid. This is ensures all connections are properly configured and helps to resolve any configuration errors.

Expand
titleStart Web Server

Execute agent in web server mode

Code Block
languagebash
.\AltiKare.Workflow.Agent.exe web

After the agent started starts in web server mode you can open the web interface from with http://localhost address.

...

Starting service (Windows Only)

Open windows Windows services from the task manager / services tab or service manager.

Starting service (Linux)

Execute the service from the shell

Expand
titleStart Service

Execute agent

Code Block
languagebash
.\AltiKare.Workflow.Agent.exe

...