An environment is needed to hold deployed bundles. To create an environment, use the bw envcreate command as follows:
bw envcreate $HOME/works/environments/dev
This will create an environment directory named 'dev' containing an 'env' directory and an 'info' file with the environment details. To verify the environment was created properly, use the bw info command as follows. You should see similar output.
$ bw info $HOME/works/environments/dev Type: Environment Name: dev Path: /home/admin/works/environments/dev Created-By: admin Created-Date: 2007-10-12T17:00:00.000Z