Execution environment
About
env is a attribute that sets the execution environment (ie in production or not).
Built-in
Tabulify knows the following environments:
Name | default | Description |
---|---|---|
prod | The production environment | |
dev | x | The dev environment |
operations may react differently depending on it.
To avoid sending emails in a dev 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 dev
export TABLI_ENV=dev
- In the configuration vault
How to see the environment
With the env variable.
Example:
tabli variable list env