diff options
| author | Steve Piercy <web@stevepiercy.com> | 2016-04-04 00:43:27 -0700 |
|---|---|---|
| committer | Steve Piercy <web@stevepiercy.com> | 2016-04-04 00:43:27 -0700 |
| commit | 74c56e0e8d767ac0942cb17cde535113e97d8db1 (patch) | |
| tree | 56efdcfb81166c298ff3da7471c22e3d65797f72 /docs/quick_tutorial/scaffolds.rst | |
| parent | 44bbbc32b607b043e708a625c4b1756db8919bdd (diff) | |
| download | pyramid-74c56e0e8d767ac0942cb17cde535113e97d8db1.tar.gz pyramid-74c56e0e8d767ac0942cb17cde535113e97d8db1.tar.bz2 pyramid-74c56e0e8d767ac0942cb17cde535113e97d8db1.zip | |
- replace setup.py with pip
Diffstat (limited to 'docs/quick_tutorial/scaffolds.rst')
| -rw-r--r-- | docs/quick_tutorial/scaffolds.rst | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/docs/quick_tutorial/scaffolds.rst b/docs/quick_tutorial/scaffolds.rst index 4f2694100..319eb9d90 100644 --- a/docs/quick_tutorial/scaffolds.rst +++ b/docs/quick_tutorial/scaffolds.rst @@ -12,7 +12,7 @@ Background ========== We're going to cover a lot in this tutorial, focusing on one topic at a -time and writing everything from scratch. As a warmup, though, +time and writing everything from scratch. As a warm up, though, it sure would be nice to see some pixels on a screen. Like other web development frameworks, Pyramid provides a number of @@ -47,21 +47,22 @@ Steps $ $VENV/bin/pcreate --scaffold starter scaffolds -#. Use normal Python development to setup our project for development: +#. Install our project in editable mode for development in the current + directory: .. code-block:: bash $ cd scaffolds - $ $VENV/bin/python setup.py develop + $ $VENV/bin/pip install -e . -#. Startup the application by pointing Pyramid's ``pserve`` command at +#. Start up the application by pointing Pyramid's ``pserve`` command at the project's (generated) configuration file: .. code-block:: bash $ $VENV/bin/pserve development.ini --reload - On startup, ``pserve`` logs some output: + On start up, ``pserve`` logs some output: .. code-block:: bash |
