Creating a BMO Development System using VirtualBox and Vagrant

 vagrant init
 vagrant box add bmo https://people.mozilla.com/~dkl/bugzilla.box
  • Edit Vagrantfile to allow port forward to VM of port 80
    • TODO: Figure out what needs to be done to have this in the base vbox instead

of requiring user to do it.

 Uncomment the line that says:
 # config.vm.forward_port 80, 8080
 In the line
 # config.vm.box = "base"
 Change "base" to "bmo"
  • Starting the VM
 vagrant up
  • Logging into the VM
 vagrant ssh
 vagrant ssh
 cd htdocs/bmo
 bzr merge
  • Making a patch fore review of your latest changes
    • This will place the patch file in your home directory of the laptop and not on the VM

so you can easily upload, etc.

 bzr diff > /vagrant/<some_patch_name>_1.patch