diff options
| author | Stephen Martin <lockwood@opperline.com> | 2018-09-16 15:46:31 -0700 |
|---|---|---|
| committer | Stephen Martin <lockwood@opperline.com> | 2018-09-16 15:46:31 -0700 |
| commit | f2520e5910861beac0199aa424ba282f856f79b3 (patch) | |
| tree | 9b9919cc52da2abd25ad6bd940ffb98ab4ccc488 /docs/quick_tutorial | |
| parent | f1f15e9f4d98de268b65166c88cf1e5bbb8c1e79 (diff) | |
| download | pyramid-f2520e5910861beac0199aa424ba282f856f79b3.tar.gz pyramid-f2520e5910861beac0199aa424ba282f856f79b3.tar.bz2 pyramid-f2520e5910861beac0199aa424ba282f856f79b3.zip | |
doc fixes
Diffstat (limited to 'docs/quick_tutorial')
| -rw-r--r-- | docs/quick_tutorial/cookiecutters.rst | 13 | ||||
| -rw-r--r-- | docs/quick_tutorial/databases.rst | 8 |
2 files changed, 5 insertions, 16 deletions
diff --git a/docs/quick_tutorial/cookiecutters.rst b/docs/quick_tutorial/cookiecutters.rst index dee301a12..9734c36bc 100644 --- a/docs/quick_tutorial/cookiecutters.rst +++ b/docs/quick_tutorial/cookiecutters.rst @@ -4,7 +4,7 @@ Prelude: Quick Project Startup with Cookiecutters ================================================= -To ease the process of getting started on a project, the Pylons Project provides :term:`cookiecutter`\ s that generate sample :app:`Pyramid` projects from project templates. These cookiecutters will install :app:`Pyramid` and its dependencies as well. We will still cover many topics of web application development using :app:`Pyramid`, but it's good to know of this facility. This prelude will demonstrate how to get a working :app:`Pyramid` web application running via ``cookiecutter``. +To ease the process of getting started on a project, the Pylons Project provides a :term:`cookiecutter` that generates sample :app:`Pyramid` projects from project templates. The cookiecutter will install :app:`Pyramid` and its dependencies as well. We will still cover many topics of web application development using :app:`Pyramid`, but it's good to know of this facility. This prelude will demonstrate how to get a working :app:`Pyramid` web application running via ``cookiecutter``. Objectives @@ -62,17 +62,6 @@ Steps # ...and into which we install our project. env/bin/pip install -e . - **Note:** If you selected ``sqlalchemy`` in the preceding step, continue. Otherwise, skip to the next step. - - .. code-block:: bash - - # Generate your first revision. - env/bin/alembic -c development.ini revision --autogenerate -m "init" - # Upgrade to that revision. - env/bin/alembic -c development.ini upgrade head - # Load default data. - env/bin/initialize_cc_starter_db development.ini - #. Start up the application by pointing :app:`Pyramid`'s ``pserve`` command at the project's (generated) configuration file: diff --git a/docs/quick_tutorial/databases.rst b/docs/quick_tutorial/databases.rst index 7d28f4ba2..3082dc4d2 100644 --- a/docs/quick_tutorial/databases.rst +++ b/docs/quick_tutorial/databases.rst @@ -21,10 +21,10 @@ storage and retrieval for the wiki pages in the previous step. .. note:: - The Pyramid cookiecutter is really helpful for getting an SQLAlchemy - project going, including generation of the console script. Since we want to - see all the decisions, we will forgo convenience in this tutorial, and wire - it up ourselves. + The Pyramid cookiecutter ``pyramid-cookiecutter-theonecc`` is really + helpful for getting a SQLAlchemy project going, including generation of + the console script. Since we want to see all the decisions, we will forgo + convenience in this tutorial, and wire it up ourselves. Objectives |
