You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -99,7 +99,12 @@ As an example, if the test server <https://pypi.python.org/pypi/iiif> is install
99
99
easy_install iiif
100
100
iiif_testserver.py
101
101
102
-
which will set up a server at `<http://localhost:8000/>`_ and write the log of accesses to STDOUT. The one can run validation tests against this with requests like `<http://localhost:8080/info_json?server=localhost:8000&prefix=/2.0_pil_none&identifier=67352ccc-d1b0-11e1-89ae-279075081939.png&version=2.0>`_ which tests the `info.json` response and gives JSON output (pretty formatted here)::
102
+
which will set up a server at `<http://localhost:8000/>`_ and write the log of accesses to STDOUT.
103
+
The one can run validation tests against this with requests like
which tests the `info.json` response and gives JSON output (pretty formatted here):
106
+
107
+
.. code-block:: json
103
108
104
109
{
105
110
"test": "info_json",
@@ -109,7 +114,10 @@ which will set up a server at `<http://localhost:8000/>`_ and write the log of a
109
114
"label": "Check Image Information"
110
115
}
111
116
112
-
and `<http://localhost:8080/rot_mirror?server=localhost:8000&prefix=/2.0_pil_none&identifier=67352ccc-d1b0-11e1-89ae-279075081939.png&version=2.0>`_ which tests mirroring and will give JSON output (again pretty formatted)::
117
+
and `<http://localhost:8080/rot_mirror?server=localhost:8000&prefix=/2.0_pil_none&identifier=67352ccc-d1b0-11e1-89ae-279075081939.png&version=2.0>`_
118
+
which tests mirroring and will give JSON output (again pretty formatted):
119
+
120
+
.. code-block:: json
113
121
114
122
{
115
123
"test": "rot_mirror",
@@ -128,7 +136,9 @@ Validator server under WSGI
128
136
Running with Vagrant
129
137
--------------------
130
138
131
-
For ease of development and local testing, you can provision a virtual machine using Vagrant. To start Vagrant, ssh in, and run the validator on a site::
139
+
For ease of development and local testing, you can provision a virtual machine using Vagrant. To start Vagrant, ssh in, and run the validator on a site:
140
+
141
+
.. code-block:: shell
132
142
133
143
vagrant up
134
144
vagrant ssh
@@ -141,9 +151,9 @@ In addition, the Vagrant configuration runs the validator as a WSGI application
This README is in reStructuredText and not gfm because that is what pypi will render. An editor like `<http://rst.ninjs.org/>`_ is useful for editing/checking interactively.
166
+
This README is in reStructuredText and not gfm because that is what pypi will render.
167
+
An editor like `<https://rsted.info.ucl.ac.be/>`_ is useful for editing/checking interactively.
0 commit comments