diff options
| author | Paul Everitt <paul@agendaless.com> | 2013-09-16 06:20:43 -0700 |
|---|---|---|
| committer | Paul Everitt <paul@agendaless.com> | 2013-09-16 06:20:43 -0700 |
| commit | 4524d905975b481aee7f84b079a3abc5036508a6 (patch) | |
| tree | 69a4e468a29a39ec90e8f6618073bc4eba250a28 /docs/quick_tutorial/static_assets.rst | |
| parent | 6625ddd9d78b1307aaff6b9c212c2fbbe926c9c0 (diff) | |
| parent | d749bf4c987c4ab90bd5f89326e7d4059e4f47b3 (diff) | |
| download | pyramid-4524d905975b481aee7f84b079a3abc5036508a6.tar.gz pyramid-4524d905975b481aee7f84b079a3abc5036508a6.tar.bz2 pyramid-4524d905975b481aee7f84b079a3abc5036508a6.zip | |
Merge pull request #1123 from tshepang/docs.quicktutorial
s/env/venv + make example links clickable
Diffstat (limited to 'docs/quick_tutorial/static_assets.rst')
| -rw-r--r-- | docs/quick_tutorial/static_assets.rst | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/quick_tutorial/static_assets.rst b/docs/quick_tutorial/static_assets.rst index d02643f5a..1d6afae18 100644 --- a/docs/quick_tutorial/static_assets.rst +++ b/docs/quick_tutorial/static_assets.rst @@ -20,8 +20,8 @@ Steps .. code-block:: bash - (env)$ cd ..; cp -r view_classes static_assets; cd static_assets - (env)$ python setup.py develop + (venv)$ cd ..; cp -r view_classes static_assets; cd static_assets + (venv)$ python setup.py develop #. We add a call ``config.add_static_view in ``static_assets/tutorial/__init__.py``: @@ -45,21 +45,21 @@ Steps .. code-block:: bash - (env)$ nosetests tutorial + (venv)$ nosetests tutorial #. Run your Pyramid application with: .. code-block:: bash - (env)$ pserve development.ini --reload + (venv)$ pserve development.ini --reload -#. Open ``http://localhost:6543/`` in your browser. +#. Open http://localhost:6543/ in your browser. Analysis ======== We changed our WSGI application to map requests under -``http://localhost:6543/static/`` to files and directories inside a +http://localhost:6543/static/ to files and directories inside a ``static`` directory inside our ``tutorial`` package. This directory contained ``app.css``. |
