Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 1 addition & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,23 +98,7 @@ echo "Hello PHP World!\n";

## Upload code to server

### Using CLI tool (preferred)

* Get [CLI](http://dev.iron.io/worker/reference/cli) tool
* Download or create `iron.json` config file with project_id/password
* Create `HelloWorld.worker` file, example:

```ruby
runtime 'php'
exec 'HelloWorld.php'
```
* Upload!

```sh
$ iron_worker upload HelloWorld
```

[.worker syntax reference](http://dev.iron.io/worker/reference/dotworker/)
See here for how to build a PHP worker and upload it to Iron.io: https://github.com/iron-io/dockerworker/tree/master/php

## Worker examples

Expand Down