Skip to content
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.

Enable set AMQLURL and PPROXY via env #86

Merged
merged 1 commit into from
Jan 19, 2015
Merged

Enable set AMQLURL and PPROXY via env #86

merged 1 commit into from
Jan 19, 2015

Conversation

imlonghao
Copy link
Contributor

I used to run pyspider by running ./run.py
Add this can be easy for the one who use to run it like me

@click.option('--amqp-url', help='amqp url for rabbitmq, default: built-in Queue')
@click.option('--phantomjs-proxy', help="phantomjs proxy ip:port")
@click.option('--amqp-url', envvar='AMQPURL', help='amqp url for rabbitmq, default: built-in Queue')
@click.option('--phantomjs-proxy', envvar='PPROXY', help="phantomjs proxy ip:port")
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use complete variable name could be better.

binux added a commit that referenced this pull request Jan 19, 2015
Enable set AMQLURL and PPROXY via env
@binux binux merged commit 9cb70d3 into binux:master Jan 19, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants