New in v13.2.0
viktor.config.toml file is used to set configuration settings for your app, and is placed on the top level of the
viktor.config.toml file is written in TOML language, which is very similar to basic Python
Changed in v13.3.0
app_type has become obligatory.
app_type entry in the
viktor.config.toml file defines the type of app. App layout, requirements and
corresponding feedback errors might differ depending on the chosen app type. Currently, the following types are
simple: allows for 1 (and only 1) entity type, of which the user can make unlimited entities.
tree: no restriction on the number of entity types. An entity type hierarchy can be created by defining
childrenon the parent entity type Controller.
app_type = 'simple' # 'simple' | 'tree'
enable_privileged_api key, the application code is able to
bypass user access restrictions:
enable_privileged_api = true # true | false
This Python version does not affect the Python version that is used for development with
venv as isolation mode,
which is specified using the
configure command instead!
Specify the Python version to publish the application with:
python_version = '3.9' # '3.7' | '3.8' | '3.9' | '3.10'
app_type = 'tree' only
A welcome text can be customized, which will be shown to the user upon entering the application dashboard. The value
is a path pointing to a file located relative to
viktor.config.toml. The file supports formatting with
welcome_text = "welcome.md"
## Welcome to your very first [VIKTOR](https://www.viktor.ai/) application!
Get started engineering the **awesome** today
While automating the *boring*!