From 3775ad79b7bd04736a0ce67684dfcd627f2afa1d Mon Sep 17 00:00:00 2001 From: Ari Sosnovsky Date: Sat, 8 Jan 2022 18:31:44 -0500 Subject: [PATCH] fixed up run.sh --- Makefile | 10 +++++++++- config.yaml | 2 +- run.sh | 2 +- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 3a0975e..a506373 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,14 @@ DC=docker-compose -f docker-compose.build.yaml -f docker-compose.test.yaml -run_locally: +local_run: $(DC) build $(DC) up -d + sleep 1 $(DC) ps + +local_logs: + $(DC) logs -f + +local_ps: + $(DC) ps + diff --git a/config.yaml b/config.yaml index b5f7596..4fdea5d 100644 --- a/config.yaml +++ b/config.yaml @@ -1,5 +1,5 @@ name: Shortumation -version: 0.0.6d +version: 0.0.6e slug: shortumation url: "https://github.com/asosnovsky/Shortumation" description: "A homeassitant addon which provides better UI for automations & scripts." diff --git a/run.sh b/run.sh index d61beb2..e174e83 100755 --- a/run.sh +++ b/run.sh @@ -2,4 +2,4 @@ echo $(ls .) -/data/venv/bin/python -m uvicorn src.app:app --host "0.0.0.0" --port 8000 +python -m uvicorn src.app:app --host "0.0.0.0" --port 8000