Skip to content

Commit

Permalink
fix wording
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Mar 2, 2017
1 parent 7641cb9 commit 60908e3
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions homestead.md
Original file line number Diff line number Diff line change
Expand Up @@ -310,11 +310,13 @@ If you wish, you may forward additional ports to the Vagrant box, as well as spe

Sometimes you may wish to share what you're currently working on with coworkers or a client. Vagrant has a built-in way to support this via `vagrant share`; however, this will not work if you have multiple sites configured in your `Homestead.yaml` file.

To solve this problem, Homestead includes its own `share` command. To get started, SSH into your Homestead machine via `vagrant ssh` and run `share homestead.app`. This will share the `homestead.app` site from your `Homestead.yaml` configuration file. Of course, you may substitute any of your other configured sites for `homestead.app`.
To solve this problem, Homestead includes its own `share` command. To get started, SSH into your Homestead machine via `vagrant ssh` and run `share homestead.app`. This will share the `homestead.app` site from your `Homestead.yaml` configuration file. Of course, you may substitute any of your other configured sites for `homestead.app`:

If you want to change the region, subdomain, or add any other Ngrok parameter you can do so by adding these after the first parameter like so `share homestead.app -region=eu -subdomain=laravel`. Which will change the Ngrok region to Europe and change the subdomain to `laravel`.
share homestead.app

After running the command, you will see an Ngrok screen appear which contains the activity log and the publicly accessible URLs for the shared site.
After running the command, you will see an Ngrok screen appear which contains the activity log and the publicly accessible URLs for the shared site. If you would like to specify a custom region, subdomain, or other Ngrok runtime option, you may add them to your `share` command:

share homestead.app -region=eu -subdomain=laravel

> {note} Remember, Vagrant is inherently insecure and you are exposing your virtual machine to the Internet when running the `share` command.
Expand Down

0 comments on commit 60908e3

Please sign in to comment.