ANTFARM/Traceroute/Commands/Environment name

From Wikibooks, open books for an open world
Jump to navigation Jump to search

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.