[main]
name = "hello-funix"
entry = "main.py"This is a minimized version of funix-cloud.toml for most situations.
The main section must be exist. name filed is mandatory, you need to fill in the project name.
entry is optional, if it does not exist then main.py is automatically used as the entry file.
You can add advanced settings via config section. Here is an example:
[main]
name = "hello-funix"
entry = "main.py"
[config]
no_frontend = false
transform = false
secret = "secret"
env = ".env"Each of these fields is optional.
no_frontend: Boolean type, whether or not to turn off the frontend, which can be turned on if you want to deploy a Funix application with no interface and only using WebAPI. Default isfalse.transform: Boolean type, whether to enable the transformation of global variables to session variables, may fail, recommended to usefunix_classto manage sessions. Default isfalse.secret: String type, the secret key, which is required to call the functions. Default isnull.env: String type, the.envfile,funix-cloudcan access this file to read the environment information. Default isnull. However,funix-cloudautomatically tries to read.envin the current directory, and you can setfalseto disable this default action.