Free Motion Capture for Everyone πβ¨
TypeScript
update binaries
Endurance Idehen20e4fb8f2a40
diff --git a/bin/run_uvicorn_server.sh b/bin/run_uvicorn_server.shold mode 100644new mode 100755index 4a79a398..5fd0c524--- a/bin/run_uvicorn_server.sh+++ b/bin/run_uvicorn_server.sh@@ -3,4 +3,4 @@# Start the webserver-uvicorn main:app --reload\ No newline at end of file+uvicorn --factory src.api.app_factory:create_app --port 8080 --host 0.0.0.0 --reloaddiff --git a/bin/test.sh b/bin/test.shindex 83831a4b..a2587e22 100755--- a/bin/test.sh+++ b/bin/test.sh@@ -1,23 +1,5 @@#!/usr/bin/env bash## Run unit tests.-#-# -s Show all output, do not capture-# -v Verbose-# -q Less verbose-# -x Stop after first failure-# -l Show local variables in tracebacks-# --lf Only run tests that failed last run (or all if none failed)-# -k "expression" Only run tests that match expession-# -r chars Show extra test summary info as specified by chars:-# (f)failed,-# (E)error-# (s)skipped-# (x)failed-# (X)passed-# (w)pytest-warnings-# (p)passed-# (P)passed with output-# (a)all except (p) and (P)-docker-compose run --rm app python -m pytest -p no:warnings evaluator/tests/+docker-compose run --rm app python -m pytest -p no:warnings ./diff --git a/bin/up.sh b/bin/up.shindex 75c39aa7..ab0278b9 100755--- a/bin/up.sh+++ b/bin/up.sh@@ -2,6 +2,4 @@## Start docker services.-source bin/set_docker_runtime.sh-docker-compose up "$@"diff --git a/docker-compose.yml b/docker-compose.ymlindex 49804e9a..b0c505eb 100644--- a/docker-compose.yml+++ b/docker-compose.yml@@ -7,5 +7,7 @@ services:dockerfile: Dockerfileports:- "57000:8080"+ command:+ - "./bin/run_uvicorn_server.sh"volumes:- .:/workspacediff --git a/src/api/routes/health_check_route.py b/src/api/routes/health_check_route.pyindex a9109039..9a0b90d8 100644--- a/src/api/routes/health_check_route.py+++ b/src/api/routes/health_check_route.py@@ -1,4 +1,3 @@-import requestsfrom fastapi import APIRouterfrom pydantic import BaseModel@@ -12,8 +11,7 @@ class HealthCheckResponse(BaseModel):@healthcheck_router.get('/health')def route():try:- requests.get('http://google.com')+ return HealthCheckResponse()except:raise ValueError("Unhealthy")- else:- return HealthCheckResponse()+