fix tutorial1 errors

--HG--
extra : convert_revision : svn%3Ab85faa78-f9eb-468e-a121-7cced6da292c%40826
This commit is contained in:
Ismael Carnales 2009-02-05 13:44:32 +00:00
parent fe2f018b1a
commit 96be669af2
1 changed files with 4 additions and 6 deletions

View File

@ -12,11 +12,9 @@ We'll assume that Scrapy is already installed in your system, if not see :ref:`i
For starting a new project, enter the directory where you'd like your project to be located, and run::
$ scrapy-admin.py startproject google
$ scrapy-admin.py startproject google
As long as Scrapy is well installed and the path is set, this should create a directory called "google" containing the following files:
This will create a ``google`` directory with the following contents::
As long as Scrapy is well installed and the path is set, this will create a ``google`` directory with the following contents::
google/
scrapy-ctl.py
@ -30,11 +28,11 @@ This will create a ``google`` directory with the following contents::
templates/
...
These are basically:
These are basically:
* ``scrapy-ctl.py``: the project's control script. It's used for running the different tasks (like "genspider", "crawl" and "parse"). We'll talk more about this later.
* ``google/``: the project's actual python module, you'll import your code from here.
* ``google/items.py*``: were you define the different kinds of items you're going to scrape.
* ``google/items.py``: were you define the different kinds of items you're going to scrape.
* ``google/pipelines.py``: were you define your item pipelines.
* ``google/settings.py``: the project's settings file.
* ``google/spiders/``: directory where you'll later place your spiders.