BMO/DeveloperBox: Difference between revisions

From MozillaWiki
< BMO
Jump to navigation Jump to search
(Created page with "=== Creating a BMO Development System using VirtualBox and Vagrant === * Install Virtualbox on your workstation (http://www.virtualbox.org) * Install Vagrant on your workstat...")
 
No edit summary
Line 7: Line 7:
   vagrant box add bmo https://people.mozilla.com/~dkl/bugzilla.box
   vagrant box add bmo https://people.mozilla.com/~dkl/bugzilla.box
* Edit Vagrantfile to allow port forward to VM of port 80  
* Edit Vagrantfile to allow port forward to VM of port 80  
   Uncomment line that says:
   Uncomment the line that says:
   # config.vm.forward_port 80, 8080
   # config.vm.forward_port 80, 8080
* To start the VM:
* To start the VM:

Revision as of 13:45, 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
 Uncomment the line that says:
 # config.vm.forward_port 80, 8080
  • To start the VM:
 vagrant up
  • To login simply type:
 vagrant ssh
 vagrant ssh
 cd htdocs/bmo
 bzr merge
  • To make a patch of your changes:
 bzr diff > /vagrant/<some_patch_name>_1.patch

This will place the patch file in your home directory of the laptop and not on the VM so you can easily upload, etc.