Skip to content
This repository has been archived by the owner on Oct 5, 2021. It is now read-only.

Commit

Permalink
Merge branch 'release-1.0.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
r8 committed Feb 7, 2016
2 parents 40a98ca + aaea5e8 commit c85e093
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@
!/data_bags/sites/local.json
/public
!/public/local.dev
/nodes/*
!/nodes/.gitkeep
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Change Log

## [1.0.3] - 2016-02-07

### Fixed
- Add `chef.nodes_path` for Chef Zero. Fix breaking change introduced with Vagrant 1.8.0

### Changed
- Update README.md with `hosts` file information

## [1.0.2] - 2015-09-25

### Fixed
Expand Down
18 changes: 14 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ Go to the repository folder and launch the box
$ cd [repo]
$ vagrant up


What's inside:
--------------

Expand Down Expand Up @@ -70,9 +71,18 @@ directory. The docroot of the new virtual host will be a directory within the
`public/` folder matching the `host` you specified. Alternately you may specify
a docroot explicitly by adding a `docroot` key in the json file.

Default preconfigured host is `local.dev`.

### Accessing your hosts via your local web browser

In order to access vagrant hosts via your local browser you will need to edit your hosts file (`/private/etc/hosts` in Macs, `c:\Windows\System32\Drivers\etc\hosts` in Windows, `/etc/hosts` in Linux).
All hosts should be mapped to `192.168.33.10`:

192.168.33.10 local.dev someyourotherhost.dev

### MySQL

The guests local 3306 port is available on the host at port 33066. It is also available on every domain. Logging in can be done with username=root, password=vagrant.
The guests local 3306 port is available on the host at port 33066. It is available on every domain. Logging in can be done with username=root, password=vagrant.

### phpMyAdmin

Expand All @@ -84,8 +94,8 @@ phpMyAdmin is available on every domain. For example:

XDebug is configured to connect back to your host machine on port 9000 when
starting a debug session from a browser running on your host. A debug session is
started by appending GET variable XDEBUG_SESSION_START to the URL (if you use an
integrated debugger like Eclipse PDT, it will do this for you).
started by either by appending GET variable XDEBUG_SESSION_START to the URL or setting XDEBUG cookie (if you use an
integrated debugger like Eclipse PDT it will do this for you).

XDebug is also configured to generate cachegrind profile output on demand by
adding GET variable XDEBUG_PROFILE to your URL. For example:
Expand All @@ -112,7 +122,7 @@ happens to serve webgrind.

### MailHog

ll emails sent via local mail transport are intercepted by [MailHog](http://github.com/mailhog/MailHog). So normally no email would be delivered outside of the virtual machine. Instead you can check messages using web frontend for MailHog, which is running on port 8025 and also available on every domain:
All emails sent via local mail transport are intercepted by [MailHog](http://github.com/mailhog/MailHog). So normally no email would be delivered outside of the virtual machine. Instead you can check messages using web frontend for MailHog, which is running on port 8025 and also available on every domain:

http://local.dev:8025

Expand Down
3 changes: 2 additions & 1 deletion Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,12 @@ Vagrant.configure("2") do |config|
end

# Enable provisioning with chef zero, specifying a cookbooks path, roles
# path, and data_bags path (all relative to this Vagrantfile), and adding
# path, nodes path and data_bags path (all relative to this Vagrantfile), and adding
# some recipes and/or roles.
config.vm.provision :chef_zero do |chef|
chef.cookbooks_path = ["berks-cookbooks", "cookbooks"]
chef.data_bags_path = "data_bags"
chef.nodes_path = "nodes"

# List of recipes to run
chef.add_recipe "vagrant_main"
Expand Down
Empty file added nodes/.gitkeep
Empty file.

0 comments on commit c85e093

Please sign in to comment.