-
Notifications
You must be signed in to change notification settings - Fork 569
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: Copy-edit Overview and extract Quickstart
- Loading branch information
1 parent
94d624f
commit 9dfda8c
Showing
5 changed files
with
62 additions
and
89 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
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 |
---|---|---|
@@ -1,22 +1,56 @@ | ||
================= | ||
Scrapyd |release| | ||
================= | ||
|
||
.. include:: ../README.rst | ||
|
||
Installation | ||
------------ | ||
Quickstart | ||
========== | ||
|
||
Install Scrapyd | ||
--------------- | ||
|
||
.. code-block:: shell | ||
pip install scrapyd | ||
Start Scrapyd | ||
------------- | ||
|
||
.. code-block:: shell | ||
scrapyd | ||
See :doc:`overview` and :doc:`config` for more details. | ||
|
||
Upload a project | ||
---------------- | ||
|
||
This involves building a `Python egg <https://setuptools.pypa.io/en/latest/deprecated/python_eggs.html>`__ and uploading it to Scrapyd via the `addversion.json <https://scrapyd.readthedocs.org/en/latest/api.html#addversion-json>`_ webservice. | ||
|
||
Do this easily with the `scrapyd-deploy` command from the `scrapyd-client <https://github.com/scrapy/scrapyd-client>`__ package. Once configured: | ||
|
||
.. code-block:: shell | ||
scrapyd-deploy | ||
Schedule a crawl | ||
---------------- | ||
|
||
.. code-block:: shell-session | ||
$ curl http://localhost:6800/schedule.json -d project=myproject -d spider=spider2 | ||
{"status": "ok", "jobid": "26d1b1a6d6f111e0be5c001e648c57f8"} | ||
See :doc:`api` for more details. | ||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
:caption: Contents | ||
|
||
overview | ||
config | ||
deploy | ||
api | ||
deploy | ||
contributing | ||
news |
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