Skip to content

Commit

Permalink
Adds localhost server reference to envoy.md
Browse files Browse the repository at this point in the history
I had to look around a bit to find out that you can use envoy locally. I thought it would be great if it was reference at the docs.

Reference:
laravel/envoy#43
  • Loading branch information
underthecocotree committed May 16, 2016
1 parent 0d0f113 commit 6505ce4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion envoy.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,11 @@ All of your Envoy tasks should be defined in an `Envoy.blade.php` file in the ro
ls -la
@endtask

As you can see, an array of `@servers` is defined at the top of the file, allowing you to reference these servers in the `on` option of your task declarations. Within your `@task` declarations, you should place the Bash code that will be run on your server when the task is executed.
As you can see, an array of `@servers` is defined at the top of the file, allowing you to reference these servers in the `on` option of your task declarations. You can also define a script to run locally by defining a server reference to the local host.

`@servers(['localhost'=>'127.0.0.1'])`

Within your `@task` declarations, you should place the Bash code that will be run on your server when the task is executed.

#### Bootstrapping

Expand Down

0 comments on commit 6505ce4

Please sign in to comment.