Genie app environments
Genie applications run in the context of an environment, which is a way of configuring a Genie application with a group of settings that are optimized for a certain task, such as development, testing, or high-performance execution in production. In other words, we can define multiple environments, each with its specific configuration, and then we can easily swap the environment to enable all the corresponding settings at once.
Out-of-the-box Genie apps come with three environments: dev
(which stands for development), prod
(for production), and test
(for testing). Each environment has its own configuration file with the same name, placed inside the config/env/
folder of the app. These environments come with preconfigured settings for running tasks optimized for three common situations: development (with rich logging and code reload and re-compilation defaults), testing, and high-performance production runtime.
The environment that is used the most by developers...