Self-contained build configuration

You can use fdt connectors download-self-contained --runtime <runtime> --version <version> to get your self-contained build.

Make sure you meet the Server Requirements for hosting the self-contained build.

Introduction

The self-contained build consists of files that include Fonto Connectors and the run-time specific for your operating system. For more information on self-contained builds, please see the Microsoft Self-Contained Deployment documentation.

Directory structure

The final folder structure should look like this:

Path

Description

./editor

This is where the Fonto Editor production build files are placed.

Do not overwrite the index.html that is already inside the directory.

./processing

This is where the XSLTs are placed.

./refs

Do not remove this directory as your application will fail to load.

./templates

This is where the document templates are placed.

Do not remove this directory as your application will fail to load.

./documentProcessing.xml

This is the document processing configuration XML file.

File or folders already present are required by the application. Do not modify or remove them.

Connectors configuration

The connectors configuration keys in the self-contained build are equal to those listed in the Configuration Keys chapter. You should set these keys as environment variables. Please consult the documentation of your web server or operating system on how to set environment variables.

Document processing configuration

Note that the application will not start without the documentProcessing.xml file.

The documentProcessing.xml file that you can create while following the Document Processing Configuration Guide, is placed on the root level of your self-contained build.

The processing XSLTs should be placed in the ./processing folder. Depending on the type of processing XSLT, either place them in ./processing/pre or ./processing/post as mentioned earlier.

Editor location

Your configured Fonto Editor must be placed inside the ./editor folder. You should not copy the index.html, since it is generated by Fonto Connectors.

Document templates

The document templates should be placed in the ./templates folder. For more information on document templates, please click here.

Note that the application will not start without the ./templates directory.

Hosting

Please follow the hosting guide for more information.