26 lines
1.0 KiB
Markdown
26 lines
1.0 KiB
Markdown
---
|
|
layout: getting_started
|
|
title: Getting Started - Project Setup
|
|
---
|
|
# Project Setup
|
|
|
|
The remainder of this getting started guide is written as a walkthrough.
|
|
As the reader, you are encouraged to follow along with the samples on your own
|
|
personal computer. Since Vagrant works with virtual machines, there will be no
|
|
"cruft" left over if you ever wish to stop (no extraneous software, files, etc)
|
|
as Vagrant will handle destroying the virtual machine if you so choose.
|
|
|
|
The first step for any project which uses Vagrant is to mark the root directory
|
|
and setup the basic required files. Vagrant provides a handy command-line utility
|
|
for just that. In the terminal transcript below, we create the directory for our
|
|
project and initialize it for Vagrant:
|
|
|
|
{% highlight bash %}
|
|
$ mkdir vagrant_guide
|
|
$ cd vagrant_guide
|
|
$ vagrant init
|
|
{% endhighlight %}
|
|
|
|
`vagrant init` creates an initial Vagrantfile. For now, we'll leave this Vagrantfile
|
|
as-is, but it will be used extensively in future steps to configure our virtual
|
|
machine. |