Confirmed users
1,927
edits
(→Working with the latest BMO code in the VM: Fix runtests.pl path) |
|||
Line 21: | Line 21: | ||
* Create following file called 'Vagrantfile' in a directory by itself. If you have a previously installed box, you may have to change the box name (config.vm.box) to something unique (e.g. append a timestamp) so that the new box is downloaded. | * Create following file called 'Vagrantfile' in a directory by itself. If you have a previously installed box, you may have to change the box name (config.vm.box) to something unique (e.g. append a timestamp) so that the new box is downloaded. | ||
Vagrant.configure("2") do |config| | |||
config.vm.box = "bmo" | |||
config.vm.box_url = "https://people.mozilla.com/~dkl/bugzilla.box" | |||
end | |||
* Execute the following in the directory where the 'Vagrantfile' is located. This will download the box and then start the VM. | * Execute the following in the directory where the 'Vagrantfile' is located. This will download the box and then start the VM. | ||
$ vagrant up | |||
* If you are getting errors downloading the box file, you can download it separately. In OS X or Linux, I suggest using "wget -c https://people.mozilla.com/~dkl/bugzilla.box" from the command line, which will resume an interrupted transfer. Then change the config.vm.box_url value to the path of the downloaded box, with no protocol, i.e., do not start it with "file://". You can verify the downloaded file's md5sum against http://people.mozilla.org/~dkl/bugzilla.box.md5 to be sure it downloaded properly before bringing the box up. | * If you are getting errors downloading the box file, you can download it separately. In OS X or Linux, I suggest using "wget -c https://people.mozilla.com/~dkl/bugzilla.box" from the command line, which will resume an interrupted transfer. Then change the config.vm.box_url value to the path of the downloaded box, with no protocol, i.e., do not start it with "file://". You can verify the downloaded file's md5sum against http://people.mozilla.org/~dkl/bugzilla.box.md5 to be sure it downloaded properly before bringing the box up. |