From dc693d7006912663abd66f16112a1580079f0514 Mon Sep 17 00:00:00 2001 From: Hidde Wieringa Date: Sun, 21 Jul 2024 20:54:54 +0200 Subject: [PATCH] fastapi run --- api/start.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/api/start.sh b/api/start.sh index 347ca134..b5ea8c4c 100755 --- a/api/start.sh +++ b/api/start.sh @@ -27,5 +27,4 @@ echo 'waiting until postgres ready' timeout 120 sh -c 'while ! pg_isready --host localhost --user postgres --dbname gis --port 5432; do sleep 1; done' echo 'starting API' -# TODO fastapi run -exec fastapi dev api.py --port "$PORT" +exec fastapi run api.py --port "$PORT"