Table of Contents

About

An environment is a string that permits to select the configurations from a project file.

Built-in

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.

How to set the environment ?

You can set the environment :

  • at the command line with the –env option of tabli.
tabli --env development
TABLI_ENV=development

How to see the environment

With the project.env internal variable.

Example:

tabli variable list project.env