BMO/DeveloperBox: Difference between revisions

From MozillaWiki
< BMO
Jump to navigation Jump to search
Line 26: Line 26:
   cd htdocs/bmo
   cd htdocs/bmo
   bzr merge
   bzr merge
* Making a patch fore review of your latest changes
* Making a patch for review of your latest changes
** This will place the patch file in your home directory of the laptop and not on the VM
** This will place the patch file in your home directory of the laptop and not on the VM
so you can easily upload, etc.
so you can easily upload, etc.
   bzr diff > /vagrant/<some_patch_name>_1.patch
   bzr diff > /vagrant/<some_patch_name>_1.patch

Revision as of 19:37, 12 April 2013

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 for 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