Merge pull request #11164 from slavrd/u/docs-intro-prov

update getting started guide - provision
This commit is contained in:
Brian Cain 2019-10-31 10:33:50 -07:00 committed by GitHub
commit d70e3eb828
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 14 additions and 0 deletions

View File

@ -52,6 +52,20 @@ The "provision" line is new, and tells Vagrant to use the `shell` provisioner
to setup the machine, with the `bootstrap.sh` file. The file path is relative
to the location of the project root (where the Vagrantfile is).
We also need to add some html content which will be served by the Apache webserver.
To do this create a subdirectory named `html` in the project root directory.
In the `html` directory create a html file named `index.html`.
For example:
```html
<!DOCTYPE html>
<html>
<body>
<h1>Getting started with Vagrant!</h1>
</body>
</html>
```
## Provision!
After everything is configured, just run `vagrant up` to create your