@@ -12,11 +12,11 @@ Running IDOM in Production
1212--------------------------
1313
1414The first thing you'll need to do if you want to run IDOM in production is choose a
15- server implementation and follow its documentation on how to create and run an
16- application. This is the server :ref: `you probably chose <Officially Supported Servers >`
17- when installing IDOM. Then you'll need to configure that application with an IDOM view.
18- We should the basics how how to run each supported server below, but all implementations
19- will follow a pattern similar to the following:
15+ backend implementation and follow its documentation on how to create and run an
16+ application. This is the backend :ref: `you probably chose <Officially Supported
17+ Backends>` when installing IDOM. Then you'll need to configure that application with an
18+ IDOM view. We show the basics of how to set up, and then run, each supported backend
19+ below, but all implementations will follow a pattern similar to the following:
2020
2121.. code-block ::
2222
@@ -34,17 +34,17 @@ will follow a pattern similar to the following:
3434 app = Application()
3535 configure(app, HelloWorld)
3636
37- You'll then run this ``app `` using a `ASGI <https://asgi.readthedocs.io/en/latest/ >`__ or
38- `WSGI <https://wsgi.readthedocs.io/ >`__ server from the command line.
37+ You'll then run this ``app `` using an `ASGI <https://asgi.readthedocs.io/en/latest/ >`__
38+ or `WSGI <https://wsgi.readthedocs.io/ >`__ server from the command line.
3939
4040
4141Running with `FastAPI <https://fastapi.tiangolo.com >`__
4242.......................................................
4343
4444.. idom :: _examples/run_fastapi
4545
46- Then assuming you put this in ``main.py ``, you can run the ``app `` using `Uvicorn
47- <https://www.uvicorn.org/> `__:
46+ Then assuming you put this in ``main.py ``, you can run the ``app `` using the `Uvicorn
47+ <https://www.uvicorn.org/> `__ ASGI server :
4848
4949.. code-block :: bash
5050
@@ -56,8 +56,8 @@ Running with `Flask <https://palletsprojects.com/p/flask/>`__
5656
5757.. idom :: _examples/run_flask
5858
59- Then assuming you put this in ``main.py ``, you can run the ``app `` using `Gunicorn
60- <https://gunicorn.org/> `__:
59+ Then assuming you put this in ``main.py ``, you can run the ``app `` using the `Gunicorn
60+ <https://gunicorn.org/> `__ WSGI server :
6161
6262.. code-block :: bash
6363
@@ -82,8 +82,8 @@ Running with `Starlette <https://www.starlette.io/>`__
8282
8383.. idom :: _examples/run_starlette
8484
85- Then assuming you put this in ``main.py ``, you can run the application using ` Uvicorn
86- <https://www.uvicorn.org/> `__:
85+ Then assuming you put this in ``main.py ``, you can run the application using the
86+ ` Uvicorn <https://www.uvicorn.org/ >`__ ASGI server :
8787
8888.. code-block :: bash
8989
@@ -143,10 +143,10 @@ Errors will be displayed where the uppermost component is located in the view:
143143.. idom :: _examples/debug_error_example
144144
145145
146- Server Configuration Options
147- ----------------------------
146+ Backend Configuration Options
147+ -----------------------------
148148
149- IDOM's various server implementations come with ``Options `` that can be passed to their
149+ IDOM's various backend implementations come with ``Options `` that can be passed to their
150150respective ``configure() `` functions in the following way:
151151
152152.. code-block ::
@@ -187,8 +187,8 @@ embedding one the examples from this documentation into your own webpage:
187187.. note ::
188188
189189 For more information on how to use the client see the :ref: `Javascript API `
190- reference. Or if you need to, your can :ref: `write your own server implementation
191- <writing your own server >`.
190+ reference. Or if you need to, your can :ref: `write your own backend implementation
191+ <writing your own backend >`.
192192
193193As mentioned though, this is connecting to the server that is hosting this
194194documentation. If you want to connect to a view from your own server, you'll need to
0 commit comments