Installation Guide
Welcome to Xill4!
This guide will help you to set up the Xill4 application as a background service.
Prerequisites
- System requirements.
- A valid license key. To obtain a valid key please contact Xillio.
As a prerequisite, you need to have a MongoDB instance (5.x or higher) running. If you don't have one, you can install it using the MongoDB installer from the MongoDB website.
By default, Xill4 will try to connect to mongodb://localhost:27017/xill4_system
. If you want to change this, you can do so by setting the XILL4_DATABASE_CONNECTION_STRING
system environment variable.
Installation
-
Verify or add the following environment variables:
Required Variables
-
XILL4_LICENSE_KEY
-
XILL4_ENVIRONMENT_SECRET
. A string that is used to encrypt and decrypt secrets. This is used to store sensitive data. Try to come up with a unique string to be safe. Add the following environment variableXILL4_ENVIRONMENT_SECRET=
to the .env file and add your secret after the=
sign.noteIf
openssl
is installed, in terminal you can use the commandopenssl rand -hex 24
to generate a random string that you can use as a secret.In case you want to avoid adding
XILL4_LICENSE_KEY
andXILL4_DATABASE_CONNECTION_STRING
as environment variables, you can simply edit theconfig.yml
. TheconnectionString
refers to theXILL4_DATABASE_CONNECTION_STRING
variable explained in prerequisites.license:
key: //REPLACE-ME-PLEASE;
database:
connectionString: //root:example@localhost:27017/xill4_system?authSource=admin
mongodb:
logger:
levels:
- error
- info
- warn
- debug
# - trace
# - http
-