Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doc: Update README, add instructions on config the vagrant #86

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,18 @@ Build 'virtualbox-iso' errored: ISO download failed.
* Run `vagrant up`
* Run `vagrant ssh` to connect to the server

After the second step in which the box is created, there may be a chance that there is not a Vagrantfile created. If yes, do the following:
* Go to the default vagrant data directory (in windows: `~\.vagrant.d\boxes\`)
* Find your desired box and change your current directory to it. (In this case: `~\.vagrant.d\boxes\devops-appserver\0\virtualbox`)
* If there is already a Vagrantfile there, update it with the missing following lines:
```
Vagrant.configure("2") do |config|
config.vm.box = "devops-appserver"
config.vm.network "forwarded_port", guest: 80, host: 8080
config.vm.synced_folder "../../../../devops-kungfu", "/home/vagrant/devops-kungfu", create: true
end
```
* Then save the file, and now you are good to go with `vagrant up` and then `vagrant ssh`.

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

Expand Down