From d4575837d4b61e2c417f7d58b7523e14e4246898 Mon Sep 17 00:00:00 2001 From: yuuki <> Date: Fri, 1 Nov 2024 13:37:52 +0900 Subject: [PATCH] =?UTF-8?q?uuid=E3=81=A7=E3=82=A4=E3=83=B3=E3=83=87?= =?UTF-8?q?=E3=83=83=E3=82=AF=E3=82=B9=E3=82=92=E4=BD=9C=E6=88=90=E3=81=97?= =?UTF-8?q?=E3=81=AA=E3=81=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 8 +++++++- app.py | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f0e1c76..1f7dceb 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,13 @@ ## デバッグの開始 -データベースを起動します。 +依存関係をインストールします + +```bash +pip install -r requirements.txt +``` + +データベースを起動します ```bash docker run --detach \ diff --git a/app.py b/app.py index 94cdb3a..393a1d1 100644 --- a/app.py +++ b/app.py @@ -66,7 +66,7 @@ async def lifespan(app: FastAPI): ) #uuid重複する?考えすぎ? - ctx["mongo_client"].litey.notes.create_index("id", unique=True) + #ctx["mongo_client"].litey.notes.create_index("id", unique=True) ctx["mongo_client"].litey.ngs.create_index("word", unique=True) pprint(ctx)