An environment is a string that permits to select the configurations from a project file.
Tabulify knows the following environment by default:
|fqdn||yes||no||The host name (the fully qualified name of the machine)|
|development||yes (if fqdn is not found)||no||A common development environment|
|production||yes||The production environment|
operations may react differently depending on it.
To avoid sending emails in a non-production environment, the send operation will send them all to the to address of the smtp connection.
How to set the environment ?
You can set the environment :
- at the command line with the –env option of tabli.
tabli --env development
How to see the environment
With the project.env internal variable.
tabli variable list project.env