Once you navigate to this URL, you can download the ZIP package by clicking on Code and then select ZIP.
Once this ZIP file is in your local folder, you will unzip the file into a folder, and then you will navigate into this folder.
Within the folder, you will need to edit the
.envfile and change the following line.
After you have done this, you will then run the following command.
docker-compose up --detach
This will start the Form.io platform, where you can then go to the following URL's in your browser:
The default admin login is as follows.
Once you have a project, you can configure the PDF server by navigating to the Project Settings, and then change the PDF Server URL configuration to the following.
All MongoDB data as well as PDF files are stored within the local
datadirectory which is part of the folder.
Walkthrough on how to deploy Form.io Enterprise on Kubernetes enabled Docker Desktop
The zip folder below contains Kubernetes configurations for deploying to Docker Desktop. The zip could just as easily be deployed on a cloud provider of your choosing with minimal changes to the configurations.
- Selected "Enable Kubernetes" under the Docker Desktop settings.
Once you have the above prerequisites taken care of as well as downloaded the formio-k8s.zip to a easily accessible path, extracted the files in your terminal application we will begin by copying the .example.env to .env by running the below command from the project root.
cp .example.env .env
Once we've copied the contents of .example.env to .env we can begin to edit our environment variables. This is where you will add your LICENSE_KEY as well as configure AWS S3 Bucket credentials for file uploads. When all of the above has been completed such as downloading & extracting the files from formio-k8s.zip to an accessible path, have installed the required Kubernetes CLI libraries, installed the Nginx Ingress Controller on to your cluster, and updated environment variables for your deployment you are ready to run the following command from project root.
This script above is designed to fail and rollback the deployment if any errors occur in the process. If this occurs check the debug output, make alterations and run the script again.