3.6.3. Deployment Commands

There are a set of BundleWorks commands that operate on a particular deployment. These include commands for managing processes (start, stop, kill, run, status), commands for managing configuration (cfgdiff, cfghistory, cfgrestore, cfgview). and information commands (history, info, version). These commands are documented in the reference section, Deployment Commands.

A deployment command can be executed using the 'bw' script or using the alias that is created when an environment is loaded. For example, the following are equivalent methods of starting an apache instance within the environment /local/env/prod:

use prod
apache start
bw "/local/env/prod/apache" start

The latter method can be used in places where a single command is preferred.