Skip to content

Latest commit

 

History

History
53 lines (34 loc) · 2.7 KB

File metadata and controls

53 lines (34 loc) · 2.7 KB

Forms-flow-ai Installation

In this document, you will see the basic details to install and run the application manually and automatically.

Table of Contents

Manual Installation

  • Make sure your current working directory is "/forms-flow-ai-deployment/docker-compose".

  • Rename the file sample.env to .env if you are installing manually.

  • Edit the config.js file and add the corresponding ip address and set the realm name as "forms-flow-ai" or the realm name of yours.

  • Modify the environment variables in the newly created .env file if needed. Environment variables are given in the table below,

  • NOTE : {your-ip-address} given inside the .env file should be changed to your host system IP address. Please take special care to identify the correct IP address if your system has multiple network cards

  • Run docker-compose up -d keycloak to start keycloak

  • Run docker-compose up -d to start. (PS: Use docker-compose-arm64.yml file for ARM processors. e.g, Apple M1)

NOTE: Use --build command with the start command to reflect any future .env / code changes eg : docker-compose up --build -d

Running the application- "Analytics"

  • Run docker-compose -f analytics-docker-compose.yml run --rm server create_db to setup database and to create tables.
  • Run docker-compose -f analytics-docker-compose.yml up --build -d to start analytics.

NOTE: Use --build command with the start command to reflect any future .env / code changes eg : docker-compose up --build -d

To stop the application

  • Run docker-compose stop to stop.

Quick Installation

  • Make sure your current working directory is "/forms-flow-ai-deployment/scripts".
  • Now just run install.bat/bash according to your operating system.

Health Check