How can i deploy scrapy app on DigitalOcean

November 16, 2015 1k views
Python Frameworks Python

I recently develop scrapy application, Please how can i deploy it on digital Ocean??

1 Answer

scrapy is provided via PIP so it can be installed with:

apt-get update;
apt-get install python-pip;
pip install scrapy;

Once that is done, scrapy should be in your path and you can run your script with something like:

scrapy runspider

Edit: Changed the apt package name as it is python-pip and not just pip.

Have another answer? Share your knowledge.