4.7.4. Environment Directory Layout
The structure of an environment is straightforward. An environment contains an info file and deployed bundles, both loadable and executable. The following shows the directory layout of an environment with a loadable and executable bundle.
ENV_NAME/
env/
info
uses/
LOADABLE_BUNDLE_NAME
EXECUTABLE_BUNDLE_NAME/
bundle
work/
config, logs, ...
Some notes on this layout:
- The env directory contains an info file describing the environment.
- The use directory contains a file for each loadable bundle deployed into the environment. This file is named with the bundle's name and contains the path to the bundle's "home" directory.
- The EXECUTABLE_BUNDLE_NAME directory contains a file named bundle which contains the path to the bundle's "home" directory and a directory named work. The work contains all the runtime data needed to run the bundle.
- The name of the EXECUTABLE_BUNDLE_NAME directory is normally the same as the bundle name, unless it is overridden in the bw deploy command.