forked from scrapy/scrapy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request scrapy#1124 from rdowinton/deployment-doc
Added deployment section covering scrapyd-deploy and shub
- Loading branch information
Showing
2 changed files
with
31 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |