iron-io/dockerworker
소개
The new IronWorker workflow examples. Test locally, then upload and start queuing jobs!
학습 및 교육측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalDocker Worker
What is this?
Use the Iron.io Docker stacks to locally dev and test your IronWorker workers in the exact same environment it will have when running remotely on the IronWorker cloud.
The New Workflow
The new workflow is much simpler and quicker. The general workflow is the following:
- Create your worker. All dependencies must in the current directory or in sub-directories.
- Create an input/payload example file (check this into source control as an example)
- Run your worker locally inside an Iron.io Stack container.
- Debug/test until you get it working properly.
- Once it works like you want it to, upload it to IronWorker. You should only have to do this once until you want to make changes.
Getting Started
1. You'll need Docker installed and running on your machine to use this. Run:
docker info
This should print information about your Docker installation. If it doesn't, you don't have Docker setup properly.
2. You'll want to install the new Iron cli tool as well (not totally necessary, but makes things a lot easier):
curl -sSL https://cli.iron.io/install | sh
Or if you'd prefer to download it yourself, you can grab the latest release from here: https://github.com/iron-io/ironcli/releases
3. Check that the Iron cli tool was installed properly:
iron --version
4. Clone this repo:
git clone https://github.com/iron-io/dockerworker.git
And cd into the directory:
cd dockerworker
Now you're ready to try the examples, choose the directory for the language you want to try.
Troubleshooting
Windows Users
If you are using boot2docker on Windows, please note the following:
The Linux VM in the boot2docker VirtualBox maps the c/Users directory in the VM instance to the C:\Users folder in Windows. So be sure your source code for your worker is in a folder under C:\Users, then cd to that folder in the context of the VM (in Boot2Docker terminal) and run it from there.
관련 프로젝트 살펴보기
불러오는 중…