From 187104fd81418beeb51592913041d9751bafe08d Mon Sep 17 00:00:00 2001 From: Paul Everitt Date: Wed, 25 Sep 2013 09:27:43 -0400 Subject: Quick Tutorial: Improve the setup instructions (adapted from Steve Piercy's work), particularly for Windows. Change all the steps to use $VENV/bin prefixes on commands (don't presume that they have done source env/bin/activate). --- docs/quick_tutorial/scaffolds.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'docs/quick_tutorial/scaffolds.rst') diff --git a/docs/quick_tutorial/scaffolds.rst b/docs/quick_tutorial/scaffolds.rst index 7adfe8aa0..c8f6d5c66 100644 --- a/docs/quick_tutorial/scaffolds.rst +++ b/docs/quick_tutorial/scaffolds.rst @@ -33,7 +33,7 @@ Steps .. code-block:: bash - (venv)$ pcreate --list + $ $VENV/bin/pcreate --list Available scaffolds: alchemy: Pyramid SQLAlchemy project using url dispatch starter: Pyramid starter project @@ -43,21 +43,21 @@ Steps .. code-block:: bash - (venv)$ pcreate --scaffold starter scaffolds + $ $VENV/bin/pcreate --scaffold starter scaffolds #. Use normal Python development to setup our project for development: .. code-block:: bash - (venv)$ cd scaffolds - (venv)$ python setup.py develop + $ cd scaffolds + $ $VENV/bin/python setup.py develop #. Startup the application by pointing Pyramid's ``pserve`` command at the project's (generated) configuration file: .. code-block:: bash - (venv)$ pserve development.ini --reload + $ $VENV/bin/pserve development.ini --reload On startup, ``pserve`` logs some output: -- cgit v1.2.3