Skip to content

Commit

Permalink
Update readme for recent scrapy versions
Browse files Browse the repository at this point in the history
  • Loading branch information
summera committed Nov 20, 2014
1 parent 2d19ed0 commit 9e7850f
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions README.md
Expand Up @@ -22,14 +22,24 @@ top level). Edit your scrapy.cfg to include the following::
username = <A_USER_NAME>
password = <A_PASSWORD>

Add a requirements.txt file that includes ``scrapy-heroku`` in it. It is strongly
recommended that you version pin scrapy-heroku as well as the version of scrapy that
your project is developed against (pip freeze > requirements.txt). Finally create a
Procfile that consists of::
Add a requirements.txt file that includes ``scrapy``, ``scrapy-heroku``, and ``scrapyd``.
It is strongly recommended that you version pin scrapy-heroku as well as the version of scrapy that
your project is developed against (pip freeze > requirements.txt).

web: scrapy server
For Example:
```python
# requirements.txt
Scrapy==0.24.4
scrapyd==1.0.1
scrapy-heroku==0.7.1
```

Finally create a Procfile that consists of::

```
web: scrapyd
```

Make sure you have a postgres database that has been promoted to DATABASE_URL


* Project page: <http://github.com/dmclain/scrapy-heroku>

0 comments on commit 9e7850f

Please sign in to comment.