From 60bfbd0d2bd5d3f1cc836445a4338cd3bf8c5427 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0pl=C3=ADchal?= Date: Thu, 24 Oct 2024 16:32:58 +0200 Subject: [PATCH] Add a hint how to run the app without Celery This is useful for quick experimenting. --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index b767632..e8f8fd6 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,12 @@ podman-compose up --build Add `-d` for the service to run in the background. +In order to quickly experiment without using Celery use this: + +```bash +USE_CELERY=false CLONE_DIR_PATH=/tmp/test uvicorn api:app --reload --host 0.0.0.0 --port 8000 +``` + ## Tests To run the tests, use the `pytest` command (assuming the service is running).