diff options
| author | Paul Everitt <paul@agendaless.com> | 2013-09-25 09:27:43 -0400 |
|---|---|---|
| committer | Paul Everitt <paul@agendaless.com> | 2013-09-25 09:27:43 -0400 |
| commit | 187104fd81418beeb51592913041d9751bafe08d (patch) | |
| tree | f87f0f64b9fdab8aacc06c96e8e6097a0e25b53e /docs/quick_tutorial/static_assets.rst | |
| parent | e2d5f2e4cb489a8a762e010a24fbb4d48780e7df (diff) | |
| download | pyramid-187104fd81418beeb51592913041d9751bafe08d.tar.gz pyramid-187104fd81418beeb51592913041d9751bafe08d.tar.bz2 pyramid-187104fd81418beeb51592913041d9751bafe08d.zip | |
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).
Diffstat (limited to 'docs/quick_tutorial/static_assets.rst')
| -rw-r--r-- | docs/quick_tutorial/static_assets.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/quick_tutorial/static_assets.rst b/docs/quick_tutorial/static_assets.rst index 1d6afae18..3ac2d6f08 100644 --- a/docs/quick_tutorial/static_assets.rst +++ b/docs/quick_tutorial/static_assets.rst @@ -20,8 +20,8 @@ Steps .. code-block:: bash - (venv)$ cd ..; cp -r view_classes static_assets; cd static_assets - (venv)$ python setup.py develop + $ cd ..; cp -r view_classes static_assets; cd static_assets + $ $VENV/bin/python setup.py develop #. We add a call ``config.add_static_view in ``static_assets/tutorial/__init__.py``: @@ -45,13 +45,13 @@ Steps .. code-block:: bash - (venv)$ nosetests tutorial + $ $VENV/bin/nosetests tutorial #. Run your Pyramid application with: .. code-block:: bash - (venv)$ pserve development.ini --reload + $ $VENV/bin/pserve development.ini --reload #. Open http://localhost:6543/ in your browser. |
