Skip to content

Commit

Permalink
Merge pull request scrapy#1124 from rdowinton/deployment-doc
Browse files Browse the repository at this point in the history
Added deployment section covering scrapyd-deploy and shub
  • Loading branch information
pablohoffman committed Apr 9, 2015
2 parents 4b11501 + 2d142d6 commit d8184a7
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ Solving specific problems
topics/leaks
topics/images
topics/ubuntu
topics/scrapyd
topics/deployment
topics/autothrottle
topics/benchmarking
topics/jobs
Expand Down Expand Up @@ -186,7 +186,7 @@ Solving specific problems
:doc:`topics/ubuntu`
Install latest Scrapy packages easily on Ubuntu

:doc:`topics/scrapyd`
:doc:`topics/deployment`
Deploying your Scrapy project in production.

:doc:`topics/autothrottle`
Expand Down
29 changes: 29 additions & 0 deletions docs/topics/deployment.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
.. _topics-deployment:

==========
Deployment
==========

The recommended way to deploy Scrapy projects to a server is through `Scrapyd`_.

.. _Scrapyd: /~https://github.com/scrapy/scrapyd

Deploying to a Scrapyd Server
=============================

You can deploy to a Scrapyd server using the `Scrapyd client </~https://github.com/scrapy/scrapyd-client>`_. You can add targets to your ``scrapy.cfg`` file which can be deployed to using the ``scrapyd-deploy`` command.

The basic syntax is as follows:

scrapyd-deploy <target> -p <project>

For more information please refer to the `Deploying your project`_ section.

.. _Deploying your project: https://scrapyd.readthedocs.org/en/latest/deploy.html

Deploying to Scrapinghub
========================

You can deploy to Scrapinghub using Scrapinghub's command line client, `shub`_. The configuration is read from the ``scrapy.cfg`` file just like ``scrapyd-deploy``.

.. _shub: /~https://github.com/scrapinghub/shub

0 comments on commit d8184a7

Please sign in to comment.