wlach / bmo

bugzilla.mozilla.org source

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BMO: bugzilla.mozilla.org

BMO is a Mozilla's highly customized version of Bugzilla.

If you are looking to run bugzilla, you should see https://github.com/bugzilla/bugzilla.

If you want to contribute to BMO, you can fork this repo and get a local copy of BMO running in a few minutes.

Install Vagrant

You will need to install the following software:

  • Vagrant 1.9.1 or later

Doing this on OSX can be accomplished with homebrew:

brew install vagrant

For Ubuntu 16.04: download the vagrant .dpkg directly from https://vagrantup.com, the one that ships with Ubuntu is too old.

Setup Vagrant VMs

From your BMO checkout run the following command

vagrant up

Depending on your machine, this will take a few minutes to much longer depending on your internet connection speed and the speed of your computer.

If this fails, please file a bug using this link

Otherwise, you should have a working bmo developer machine setup!

To test it, you'll want to add an entry to /etc/hosts for bmo-web.vm pointing to 192.168.3.43

After that, you should be able to visit http://bmo-web.vm/ from your browser. You can login as vagrant@bmo-web.vm with the password "vagrant01!" (without quotes).

Making Changes and Seeing them

After editing files in the bmo directory, you will need to run

vagrant rsync && vagrant provision web

to see the changes applied to your vagrant VM.

Technical Details

This is a very complete but scaled-down version of production BMO. It is using roughly the same RPMS (centos 6 vs. EL 6 in production) and the same perl dependencies (via https://github.com/mozilla-bteam/carton-bundles).

It includes most of the products, groups, and users too (with the users having their password reset as mentioned above). Email is disabled for all users, however it is safe to enable email as the box is configured to send all email to the 'vagrant' user on the web vm.

Most of the cron jobs and the jobqueue daemon are running. The push connector is not currently configured, nor is it configured to talk to Pulse.

It is configured to use memcached as well.

About

bugzilla.mozilla.org source


Languages

Language:Perl 72.1%Language:Perl 6 11.4%Language:JavaScript 8.8%Language:CSS 7.1%Language:HTML 0.4%Language:ApacheConf 0.2%Language:Shell 0.1%