The following shows the BundleWorks commands that a system administrator might use to deploy the software to production.
Add completed bundles to 'bundle inventory'. $ bw add http://internal.example.com/dist/jdk-1.5.0_12.tgz /opt/bundles $ bw add http://internal.example.com/dist/helloserver-1.0.tgz /opt/bundles Create a production environment $ bw envcreate /local/env/prod Deploy bundles to the environment $ bw deploy /opt/bundles/jdk/1.5.0_12 /local/env/prod $ bw deploy /opt/bundles/helloserver/1.0 /local/env/prod Use the environment and start the application. $ use prod $ helloserver start
This scenario shows BundleWorks managing a single version of an application across environments on two separate machines. BundleWorks is also capable of managing multiple versions of an application across multiple environments on a single machine. This scenario is covered in the tutorial in Chapter 2, Tutorial.