You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 5, 2021. It is now read-only.
Copy file name to clipboardexpand all lines: README.md
+14-4
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,7 @@ Go to the repository folder and launch the box
29
29
$ cd [repo]
30
30
$ vagrant up
31
31
32
+
32
33
What's inside:
33
34
--------------
34
35
@@ -70,9 +71,18 @@ directory. The docroot of the new virtual host will be a directory within the
70
71
`public/` folder matching the `host` you specified. Alternately you may specify
71
72
a docroot explicitly by adding a `docroot` key in the json file.
72
73
74
+
Default preconfigured host is `local.dev`.
75
+
76
+
### Accessing your hosts via your local web browser
77
+
78
+
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).
79
+
All hosts should be mapped to `192.168.33.10`:
80
+
81
+
192.168.33.10 local.dev someyourotherhost.dev
82
+
73
83
### MySQL
74
84
75
-
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.
85
+
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.
76
86
77
87
### phpMyAdmin
78
88
@@ -84,8 +94,8 @@ phpMyAdmin is available on every domain. For example:
84
94
85
95
XDebug is configured to connect back to your host machine on port 9000 when
86
96
starting a debug session from a browser running on your host. A debug session is
87
-
started by appending GET variable XDEBUG_SESSION_START to the URL (if you use an
88
-
integrated debugger like Eclipse PDT, it will do this for you).
97
+
started by either by appending GET variable XDEBUG_SESSION_START to the URL or setting XDEBUG cookie (if you use an
98
+
integrated debugger like Eclipse PDT it will do this for you).
89
99
90
100
XDebug is also configured to generate cachegrind profile output on demand by
91
101
adding GET variable XDEBUG_PROFILE to your URL. For example:
@@ -112,7 +122,7 @@ happens to serve webgrind.
112
122
113
123
### MailHog
114
124
115
-
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:
125
+
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:
0 commit comments