Execution environment
About
exec-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 tabul.
tabul --exec-env prod
export TABUL_EXEC_ENV=prod
How to see the environment
With the env variable.
Example:
tabul env list EXEC_ENV
attribute value origin description
--------- ----- -------------- -------------------------
EXEC_ENV dev Os environment The execution environment