Database EnvironmentsΒΆ
The management scripts accept an environment flag (one of: -production
,
-staging
, -development
, or -localhost
) to determine which
MongoDB connection and database to manage. These correspond to configuration
stanzas in config.yml
like in the following example:
To work with a specified environment environment using the management tools,
the values for the corresponding environment must be correct in the
config.yml
file.