Open main menu

Wikibooks β

ANTFARM/Traceroute/Commands/Environment name

< ANTFARM‎ | Traceroute‎ | Commands

The environment name in Antfarm refers to the environment (database session) you are currently using with Antfarm. The default environment for Antfarm is named "antfarm". However, if you want to have various environments (database sessions) that contain different information in them, you must edit the defaults.yml file.

The default defaults.yml file contains the following information initially:

    environment: antfarm
    log level: warn

To add more environments to the defaults.yml file using postgresql, add the following to the file (leaving the 1st two lines there):

    environment1 name:
      adapter: postgresql
    environment2 name:
      adapter: postgresql

and so on.