Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update for iron/dockerworker #3

Open
mrpatrick opened this issue May 16, 2016 · 0 comments
Open

Update for iron/dockerworker #3

mrpatrick opened this issue May 16, 2016 · 0 comments

Comments

@mrpatrick
Copy link
Member

mrpatrick commented May 16, 2016

Update code to use with iron's new docker testing / deployment:

  1. Install Requirements:

    docker run --rm  -v "$PWD":/worker -w /worker docker.io/iron/python:2.7.11-dev apk add --update python-dev; pip install -t packages -r requirements.txt
  2. Include init.py:

    touch packages/__init__.py
  3. Run harvest_email:

    docker run --rm -v "$PWD":/worker -w /worker docker.io/iron/python:2.7.11-dev apk add --update py-requests; python harvest_email.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant