BMO/DeveloperBox: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 68: Line 68:


* File any bugs or feature requests [https://bugzilla.mozilla.org/enter_bug.cgi?product=bugzilla.mozilla.org&component=Developer%20Box here]
* File any bugs or feature requests [https://bugzilla.mozilla.org/enter_bug.cgi?product=bugzilla.mozilla.org&component=Developer%20Box here]
=== Installing a recent sanitized dump of public bugs from BMO ===
* From time to time Michael Hoye (mhoye) will upload an updated MySQL dump file to his people site that contains sanitized data from BMO.
  http://people.mozilla.org/~mhoye/bugzilla/
* You can drop the database you have currently installed in your VM and import the new dump which will give you a larger amount of data to test/develop with.
  $ vagrant ssh
  $ cd ~/htdocs/bmo
  $ mysql -u root mysql
  mysql> DROP DATABASE bugs; CREATE DATABASE bugs CHARACTER SET = 'utf8';
  $ zcat /vagrant/database_dump_file.gz | mysql -u root bugs --max_allowed_packet=128M
 
* The BMO code may have had features added since the last time the snapshot was made and put out for download. Running ./checksetup.pl will make any database schema changes needed.
 
  $ ./checksetup.pl
* Since this is a new import, you will need to setup your personal BMO account again as well.
  $ vagrant ssh
  $ cd ~/htdocs/bmo
  $ ./checksetup.pl --make-admin=<email> --reset-password=<email>
Confirmed users
241

edits