Update getting started guide with fixes and complete output examples

This commit is contained in:
Mitchell Hashimoto 2010-07-31 08:29:49 -07:00
parent 0208c24a12
commit 57ff845843
3 changed files with 17 additions and 5 deletions

View File

@ -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.

View File

@ -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

View File

@ -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">