From d4fcd5dcf728381ddee31943b0a157af0252c667 Mon Sep 17 00:00:00 2001 From: mraniki Date: Sat, 8 Jul 2023 21:59:36 +0200 Subject: [PATCH 1/2] :memo: Update index.rst file with new width and add example and FMO class documentation. --- docs/index.rst | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/docs/index.rst b/docs/index.rst index 3cd60863..43037b71 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -6,7 +6,7 @@ FindMyOrder .. image:: https://user-images.githubusercontent.com/8766259/233823991-cceaa05a-ff15-4796-a6bb-bcb3ee0d8859.jpg :align: right - :width: 200 + :width: 50 .. toctree:: @@ -17,14 +17,23 @@ FindMyOrder How To Use it ================== +the following example illustrate how to use the module + .. rli:: https://raw.githubusercontent.com/mraniki/findmyorder/main/examples/example.py :language: python - :lines: 10-29 + Settings ================== Setting available via settings.toml +.. rli:: https://raw.githubusercontent.com/mraniki/findmyorder/main/findmyorder/default_settings.toml + :language: python + +FMO class +================== +* :doc:`findmyorder ` + Indices and tables @@ -35,7 +44,6 @@ Indices and tables * :ref:`search` - Talky ================== * :doc:`Talkytrader ` From ec68b3f89c5ae64c02690e6de0b4f6344447f482 Mon Sep 17 00:00:00 2001 From: mraniki Date: Sat, 8 Jul 2023 22:05:08 +0200 Subject: [PATCH 2/2] :whale: Update Dockerfile with new dependencies --- .registry/Dockerfile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.registry/Dockerfile b/.registry/Dockerfile index d8aaa20c..da41fe79 100644 --- a/.registry/Dockerfile +++ b/.registry/Dockerfile @@ -1,6 +1,12 @@ FROM python:3.11 WORKDIR /app -COPY ./examples/ /.requirements/requirements.txt . -RUN pip install --no-cache-dir -r requirements.txt +#COPY ./examples/ /.requirements/requirements.txt . +#RUN pip install --no-cache-dir -r requirements.txt + +COPY ./examples/ . +RUN pip install --no-cache-dir findmyorder +RUN pip install --no-cache-dir fastapi +RUN pip install --no-cache-dir uvicorn + EXPOSE 8080 CMD [ "python", "./example.py" ]