From 0a47ad28c97b4834fe90cd10b663c536fe71d3f1 Mon Sep 17 00:00:00 2001 From: Benjamin Webb <40066515+webb-ben@users.noreply.github.com> Date: Fri, 5 Jan 2024 19:32:09 -0500 Subject: [PATCH] Update starlette documentation (#1461) * Add starlette / docker * Update Starlette documentation * Remove starlette docker example * Revert "Add starlette / docker" This reverts commit 6cb6d6f10a789c9c6a0adf5e925857be5183009d. * Partially revert "Update starlette documentation" --- docs/source/running-with-docker.rst | 2 +- docs/source/running.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/running-with-docker.rst b/docs/source/running-with-docker.rst index a9fd3f8..afd9533 100644 --- a/docs/source/running-with-docker.rst +++ b/docs/source/running-with-docker.rst @@ -17,7 +17,7 @@ The basics The official pygeoapi Docker image will start a pygeoapi Docker container using Gunicorn on internal port 80. -Either ``IMAGE`` can be called with the ``docker`` command, ``geopython/pygeoapi`` from DockerHub or ``ghcr.io/geophython/pygeoapi`` from the GitHub Container Registry. Examples below use ``geopython/pygeoapi``. +Either ``IMAGE`` can be called with the ``docker`` command, ``geopython/pygeoapi`` from DockerHub or ``ghcr.io/geopython/pygeoapi`` from the GitHub Container Registry. Examples below use ``geopython/pygeoapi``. To run with the default built-in configuration and data: diff --git a/docs/source/running.rst b/docs/source/running.rst index 3533d1b..8ea173f 100644 --- a/docs/source/running.rst +++ b/docs/source/running.rst @@ -270,7 +270,7 @@ It is simple to run using the following command: .. code-block:: bash - gunicorn pygeoapi.starlette_app:app -w 4 -k uvicorn.workers.UvicornWorker + gunicorn pygeoapi.starlette_app:APP -w 4 -k uvicorn.workers.UvicornH11Worker .. note:: Uvicorn is as easy to install as ``pip3 install uvicorn``