Skip to content

Commit

Permalink
wording
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed May 16, 2016
1 parent 6505ce4 commit b5b617a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions envoy.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,13 @@ 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. You can also define a script to run locally by defining a server reference to the local host.
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.

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

Within your `@task` declarations, you should place the Bash code that will be run on your server when the task is executed.
You can define a script to run locally by defining a server reference to the local host:

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

#### Bootstrapping

Expand Down

0 comments on commit b5b617a

Please sign in to comment.