diff options
| author | Steve Piercy <web@stevepiercy.com> | 2018-08-18 12:16:45 -0700 |
|---|---|---|
| committer | Steve Piercy <web@stevepiercy.com> | 2018-08-18 12:16:45 -0700 |
| commit | fca57a1daaa553a5a56de2c785e3655c2f82bcfd (patch) | |
| tree | 806edc9595dc7263809b7ecc6995f19d061da2a2 /docs | |
| parent | 48608b6056fef3922157d5d0b67e8145305fa6be (diff) | |
| download | pyramid-fca57a1daaa553a5a56de2c785e3655c2f82bcfd.tar.gz pyramid-fca57a1daaa553a5a56de2c785e3655c2f82bcfd.tar.bz2 pyramid-fca57a1daaa553a5a56de2c785e3655c2f82bcfd.zip | |
Clean up code-blocks in qt/ini
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/quick_tutorial/ini.rst | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/docs/quick_tutorial/ini.rst b/docs/quick_tutorial/ini.rst index e4f30405f..ce92914fe 100644 --- a/docs/quick_tutorial/ini.rst +++ b/docs/quick_tutorial/ini.rst @@ -39,44 +39,44 @@ Steps .. code-block:: bash - $ cd ..; cp -r package ini; cd ini + cd ..; cp -r package ini; cd ini #. Our ``ini/setup.py`` needs a setuptools "entry point" in the ``setup()`` function: .. literalinclude:: ini/setup.py - :linenos: + :linenos: #. We can now install our project, thus generating (or re-generating) an "egg" at ``ini/tutorial.egg-info``: .. code-block:: bash - $ $VENV/bin/pip install -e . + $VENV/bin/pip install -e . #. Let's make a file ``ini/development.ini`` for our configuration: .. literalinclude:: ini/development.ini - :language: ini - :linenos: + :language: ini + :linenos: #. We can refactor our startup code from the previous step's ``app.py`` into ``ini/tutorial/__init__.py``: .. literalinclude:: ini/tutorial/__init__.py - :linenos: + :linenos: #. Now that ``ini/tutorial/app.py`` isn't used, let's remove it: .. code-block:: bash - $ rm tutorial/app.py + rm tutorial/app.py #. Run your Pyramid application with: .. code-block:: bash - $ $VENV/bin/pserve development.ini --reload + $VENV/bin/pserve development.ini --reload #. Open http://localhost:6543/. |
