summaryrefslogtreecommitdiff
path: root/docs/quick_tutorial/tutorial_approach.rst
diff options
context:
space:
mode:
authorSteve Piercy <web@stevepiercy.com>2016-04-16 15:00:46 -0700
committerSteve Piercy <web@stevepiercy.com>2016-04-16 15:00:46 -0700
commitd19e9902ede0b1cc40991b423c12e8a95d430e0e (patch)
tree1ae26e5443801e881009a40169a394a9561bdacb /docs/quick_tutorial/tutorial_approach.rst
parent1eea18ab7f1428ba8ac01a238f03ddbf8483593b (diff)
parentd729f7d47b90d47d7e40fd5d1df449582f1c4eca (diff)
downloadpyramid-d19e9902ede0b1cc40991b423c12e8a95d430e0e.tar.gz
pyramid-d19e9902ede0b1cc40991b423c12e8a95d430e0e.tar.bz2
pyramid-d19e9902ede0b1cc40991b423c12e8a95d430e0e.zip
Merge pull request #2508 from stevepiercy/1.7-branch
Merge pull request #2505 from stevepiercy/docs/quick-tour-gotcher-nose
Diffstat (limited to 'docs/quick_tutorial/tutorial_approach.rst')
-rw-r--r--docs/quick_tutorial/tutorial_approach.rst66
1 files changed, 34 insertions, 32 deletions
diff --git a/docs/quick_tutorial/tutorial_approach.rst b/docs/quick_tutorial/tutorial_approach.rst
index 8298a4710..6d534fe13 100644
--- a/docs/quick_tutorial/tutorial_approach.rst
+++ b/docs/quick_tutorial/tutorial_approach.rst
@@ -2,44 +2,46 @@
Tutorial Approach
=================
-This tutorial uses conventions to keep the introduction focused and
-concise. Details, references, and deeper discussions are mentioned in
-"See also" notes.
+This tutorial uses conventions to keep the introduction focused and concise.
+Details, references, and deeper discussions are mentioned in "See also" notes.
.. seealso:: This is an example "See also" note.
-This "Getting Started" tutorial is broken into independent steps,
-starting with the smallest possible "single file WSGI app" example.
-Each of these steps introduce a topic and a very small set of concepts
-via working code. The steps each correspond to a directory in this
-repo, where each step/topic/directory is a Python package.
+This "Getting Started" tutorial is broken into independent steps, starting with
+the smallest possible "single file WSGI app" example. Each of these steps
+introduce a topic and a very small set of concepts via working code. The steps
+each correspond to a directory in this repo, where each step/topic/directory is
+a Python package.
-To successfully run each step::
+To successfully run each step:
- $ cd request_response
- $ $VENV/bin/pip install -e .
+.. code-block:: bash
-...and repeat for each step you would like to work on. In most cases we
-will start with the results of an earlier step.
+ $ cd request_response
+ $ $VENV/bin/pip install -e .
-Directory Tree
+...and repeat for each step you would like to work on. In most cases we will
+start with the results of an earlier step.
+
+Directory tree
==============
-As we develop our tutorial our directory tree will resemble the
-structure below::
-
- quicktutorial/
- request_response/
- development.ini
- setup.py
- tutorial/
- __init__.py
- home.pt
- tests.py
- views.py
-
-Each of the first-level directories (e.g. ``request_response``) is a
-*Python project* (except, as noted, the ``hello_world`` step.) The
-``tutorial`` directory is a *Python package*. At the end of each step,
-we copy a previous directory into a new directory to use as a starting
-point.
+As we develop our tutorial, our directory tree will resemble the structure
+below:
+
+.. code-block:: text
+
+ quick_tutorial
+ ├── env
+ └── request_response
+ ├── tutorial
+ │ ├── __init__.py
+ │ ├── tests.py
+ │ └── views.py
+ ├── development.ini
+ └── setup.py
+
+Each of the first-level directories (e.g., ``request_response``) is a *Python
+project* (except as noted for the ``hello_world`` step). The ``tutorial``
+directory is a *Python package*. At the end of each step, we copy a previous
+directory into a new directory to use as a starting point.