diff --git a/.registry/Dockerfile b/.registry/Dockerfile index d8aaa20..da41fe7 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" ] diff --git a/docs/index.rst b/docs/index.rst index 3cd6086..43037b7 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 `