An environment is a string that permits to select the configurations from a project file.
Tabulify knows the following environment by default:
Name | default | Prod Status | Description |
---|---|---|---|
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.
You can set the environment :
tabli --env development
TABLI_ENV=development
With the project.env internal variable.
Example:
tabli variable list project.env