Update getting started guide with fixes and complete output examples
This commit is contained in:
parent
0208c24a12
commit
57ff845843
|
@ -51,4 +51,18 @@ and Vagrant will automatically provision it. If your environment is already
|
|||
running since you did an `up` in a previous step, just run `vagrant reload`,
|
||||
which will quickly restart your VM, skipping the import step.
|
||||
|
||||
TODO: create cookbooks and show output here
|
||||
After Vagrant completes running, the web server will be up and running as well.
|
||||
You can't see your website from your own browser yet, since we haven't covered
|
||||
port forwarding, but you can verify that the provisioning works by SSHing into
|
||||
the VM and checking the output of hitting `127.0.0.1`:
|
||||
|
||||
{% highlight bash %}
|
||||
$ vagrant ssh
|
||||
...
|
||||
vagrant@vagrantup:~$ wget -qO- 127.0.0.1
|
||||
<h1>Hello from a Vagrant VM</h1>
|
||||
vagrant@vagrantup:~$
|
||||
{% endhighlight %}
|
||||
|
||||
In the next step of the getting started guide, we'll show you how to view
|
||||
your website using your own browser.
|
||||
|
|
|
@ -34,7 +34,7 @@ which we'll use later to showcase your VM. Run the following command in your
|
|||
project directory (the directory with the Vagrantfile):
|
||||
|
||||
{% highlight bash %}
|
||||
$ echo "<h1>Hello from a Vagrant VM!</h1>" > index.html
|
||||
$ echo "<h1>Hello from a Vagrant VM</h1>" > index.html
|
||||
{% endhighlight %}
|
||||
|
||||
The above steps could have been run in any order. Vagrant can easily be initialized
|
||||
|
|
|
@ -21,9 +21,7 @@ following:
|
|||
{% highlight bash %}
|
||||
$ vagrant ssh
|
||||
...
|
||||
Welcome to your vagrant instance!
|
||||
Last login: Fri Mar 5 23:21:47 2010 from 10.0.2.2
|
||||
vagrant@vagrantbase:~$
|
||||
vagrant@vagrantup:~$
|
||||
{% endhighlight %}
|
||||
|
||||
<div class="info">
|
||||
|
|
Loading…
Reference in New Issue