dmclain / scrapy-heroku

BSD 3-Clause "New" or "Revised" License
68 stars 36 forks source link

How do you specify the port number #6

Closed zeitos closed 8 years ago

zeitos commented 8 years ago

Just that question, it seems like you can't pass heroku's assigned port when starting scrapyd.

dmclain commented 8 years ago

This package exists to cause the port to be read from the environment variable PORT.

https://github.com/dmclain/scrapy-heroku/blob/master/scrapy_heroku/app.py#L21