From 8b1a96f1336c26f0dd2776ebb89b0a7a927296ca Mon Sep 17 00:00:00 2001 From: Andrija Stevanovic Date: Sun, 8 Mar 2026 02:29:33 +0100 Subject: [PATCH] scipts for starting --- start-back.sh | 9 +++++++++ start-front.sh | 4 ++++ start-infra.sh | 4 ++++ 3 files changed, 17 insertions(+) create mode 100755 start-back.sh create mode 100755 start-front.sh create mode 100755 start-infra.sh diff --git a/start-back.sh b/start-back.sh new file mode 100755 index 0000000..69db579 --- /dev/null +++ b/start-back.sh @@ -0,0 +1,9 @@ +#!/bin/bash +cd "$(dirname "$0")/dotnet" + +dotnet run --project AipsWebApi 2>&1 | sed "s/^/[WebApi] /" & +dotnet run --project AipsRT 2>&1 | sed "s/^/[RT] /" & +dotnet run --project AipsWorker 2>&1 | sed "s/^/[Worker] /" & + +trap 'kill $(jobs -p) 2>/dev/null' EXIT +wait diff --git a/start-front.sh b/start-front.sh new file mode 100755 index 0000000..00796ca --- /dev/null +++ b/start-front.sh @@ -0,0 +1,4 @@ +#!/bin/bash +cd "$(dirname "$0")/front" + +bun dev diff --git a/start-infra.sh b/start-infra.sh new file mode 100755 index 0000000..bcb020a --- /dev/null +++ b/start-infra.sh @@ -0,0 +1,4 @@ +#!/bin/bash +cd "$(dirname "$0")/docker" + +docker compose -p aips --env-file ../.env up