Skip to content

Commit 35ee961

Browse files
committed
readme: Simplify build with packer directions
Fixes udacity#22
1 parent fceca01 commit 35ee961

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

README.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
Instructions for Practice Project
22
========================================
33

4-
These instructions assume familiarity with Git and GitHub. If you are not comfortable with those tools, please complete Udacity's [How to Use Git and GitHub](https://www.udacity.com/course/how-to-use-git-and-github--ud775) course before proceeding.
4+
These instructions assume familiarity with Git and GitHub. If you are not comfortable with those tools, please complete Udacity's [How to Use Git and GitHub](https://www.udacity.com/course/how-to-use-git-and-github--ud775) course before proceeding.
55

6-
After installing the required tools, you will need to ensure that your computer can find the executables to run them. For this, you might need to modify the PATH environment variable. A good overview is at [superuser.com](https://superuser.com/questions/284342/what-are-path-and-other-environment-variables-and-how-can-i-set-or-use-them). You may need to search the web for instructions on how to set the PATH variable for your specific operating system and version.
6+
After installing the required tools, you will need to ensure that your computer can find the executables to run them. For this, you might need to modify the PATH environment variable. A good overview is at [superuser.com](https://superuser.com/questions/284342/what-are-path-and-other-environment-variables-and-how-can-i-set-or-use-them). You may need to search the web for instructions on how to set the PATH variable for your specific operating system and version.
77

88
## Setting up your local machine
99

@@ -15,8 +15,7 @@ After installing the required tools, you will need to ensure that your computer
1515

1616
## Part I: Building a box with Packer
1717

18-
From the packer-templates directory on your local machine:
19-
18+
* Run `cd packer-templates`
2019
* Run `packer build -only=virtualbox-iso application-server.json`. You may see various timeouts and errors, as shown below. If you do, retry the command until the ISO download succeeds:
2120

2221
```
@@ -40,12 +39,12 @@ Build 'virtualbox-iso' errored: ISO download failed.
4039

4140
## Part II: Cloning, developing, and running the web application
4241

43-
* On your local machine go to the root directory of the cloned repository
42+
* On your local machine go to the root directory of the cloned repository
4443
* Run `git clone https://github.com/chef/devops-kungfu.git devops-kungfu`
4544
* Open http://localhost:8080 from your local machine to see the app running.
4645
* In the VM, run `cd devops-kungfu`
4746
* To install app specific node packages, run `sudo npm install`. You may see several errors; they can be ignored for now.
48-
* Now you can run tests with the command `grunt -v`. The tests will run, then quit with an error.
47+
* Now you can run tests with the command `grunt -v`. The tests will run, then quit with an error.
4948

5049
### Troubleshooting
5150

0 commit comments

Comments
 (0)