dockerworker icon indicating copy to clipboard operation
dockerworker copied to clipboard

migration from .worker to this doc

Open rdallman opened this issue 10 years ago • 9 comments

Yes, the main differences : Understand that you need a standalone version of your gems / you need a require_relative of the bundle setup and a require for the different modules you uses / and also payload

These are ruby specific. Would be great to document the changes required for other runtimes to switch over to get people using this.

Make example/docs for:

  • [ ] Node
  • [ ] PHP
  • [ ] Java

rdallman avatar Feb 15 '15 20:02 rdallman

Where is that from?

treeder avatar Feb 16 '15 16:02 treeder

And ya, should try to get a few different languages ready. Have a Go example almost ready, a node/php/java example would be good.

treeder avatar Feb 16 '15 16:02 treeder

had a customer try it out this weekend, was having some issues with (surprise) bundler.

rdallman avatar Feb 16 '15 16:02 rdallman

What were the issues?

On Mon, Feb 16, 2015, 8:53 AM Reed Allman [email protected] wrote:

had a customer try it out this weekend, was having some issues with (surprise) bundler.

— Reply to this email directly or view it on GitHub https://github.com/iron-io/dockerworker/issues/2#issuecomment-74538396.

treeder avatar Feb 16 '15 19:02 treeder

meant with iron_worker_ng, sorry. that's why I had him try this thing out. he had some good feedback, said that he wanted a simple "hello world" tutorial for upload and to skip the docker business (even though he said it is nice and should exist) and also to cover some of the migration bugaboos (made issues for both).

rdallman avatar Feb 16 '15 19:02 rdallman

Here's a good hello world one: https://github.com/treeder/hello_worker . Don't even need to clone it.

treeder avatar Feb 16 '15 20:02 treeder

ah. think he meant quick and easy zip. we could add a zip to that guy

rdallman avatar Feb 17 '15 00:02 rdallman

To this cli? maybe iron worker zupload ... would zip and upload.

treeder avatar Feb 17 '15 01:02 treeder

that's not a bad idea either. I just meant as a tutorial a simple hello_world.zip laying around somewhere for people to say "hello world"

rdallman avatar Feb 17 '15 01:02 rdallman