Bug 1178300 - Docs: Move the hosts file step into the Vagrant section

Since it can be performed whilst `vagrant up` is running, and whilst
modifying the hosts file is not necessary for running the tests, most
people will still want to do it.
This commit is contained in:
Ed Morley 2015-08-11 15:55:27 +01:00
Родитель 9e152c6732
Коммит fb9f0af43c
1 изменённых файлов: 7 добавлений и 10 удалений

Просмотреть файл

@ -22,6 +22,13 @@ Setting up Vagrant
* It will typically take 5 to 30 minutes for the vagrant up to complete, depending on your network performance.
* While the previous command is running, use the time to add this line to your **host** machine's /etc/hosts:
.. code-block:: bash
# Copy this line verbatim (do not adjust the IP)
192.168.33.10 local.treeherder.mozilla.org
* Once the virtual machine is set up, log into it with
.. code-block:: bash
@ -36,16 +43,6 @@ Setting up Vagrant
* If you just wish to :ref:`run the tests <running-tests>`, you can stop now without performing the remaining steps below.
Setting up a local Treeherder instance
--------------------------------------
* And this line to your **host** machine's /etc/hosts so that you can point your browser to local.treeherder.mozilla.org to reach the VM
.. code-block:: bash
# Copy this line verbatim (do not adjust the IP)
192.168.33.10 local.treeherder.mozilla.org
Viewing the local server
------------------------