From 5cab3d57436d90022658463786e4283611b57b8c Mon Sep 17 00:00:00 2001 From: Gregor Schulz <gregor.schulz@holi.social> Date: Thu, 13 Mar 2025 16:08:21 +0000 Subject: [PATCH] add app-events --- .envrc.local.backends.template | 1 + .node-version | 1 - README.md | 1 + init.sh | 1 + mprocs-local-backend.yaml | 12 ++++++++++++ 5 files changed, 15 insertions(+), 1 deletion(-) delete mode 100644 .node-version diff --git a/.envrc.local.backends.template b/.envrc.local.backends.template index 0ae4468..06a3e2f 100644 --- a/.envrc.local.backends.template +++ b/.envrc.local.backends.template @@ -5,6 +5,7 @@ export LOCAL_BACKEND_OCIS=false export LOCAL_BACKEND_GOODNEWS=false export LOCAL_BACKEND_DONATIONS=false export LOCAL_BACKEND_VOLUNTEERING=false +export LOCAL_BACKEND_EVENTS=false export LOCAL_BACKEND_GEOAPI=false export LOCAL_BACKEND_STORYBOOK=true export LOCAL_BACKEND_NOTIFICATIONS=false diff --git a/.node-version b/.node-version deleted file mode 100644 index 7d41c73..0000000 --- a/.node-version +++ /dev/null @@ -1 +0,0 @@ -22.14.0 diff --git a/README.md b/README.md index c04596a..fd94954 100644 --- a/README.md +++ b/README.md @@ -310,6 +310,7 @@ The following table lists all ports that are used for local execution. | geo | 8003 | | volunteering | 8004 | | notifications | 8005 | +| app-events | 8006 | | pubsub-emulator | 8085 | | ocis-subscriber | 8086 | | ocis-postgres | 8087 | diff --git a/init.sh b/init.sh index bb755d5..a01a682 100755 --- a/init.sh +++ b/init.sh @@ -128,6 +128,7 @@ checkoutAndPrepare git@gitlab.holi.team:app/holi-chat-integration.git holi-chat- checkoutAndPrepare git@gitlab.holi.team:app/holi-libretranslate.git holi-libretranslate checkoutAndPrepare git@gitlab.holi.team:app/holi-translation-api.git holi-translation-api checkoutAndPrepare git@gitlab.holi.team:app/holi-moderation.git holi-moderation +checkoutAndPrepare git@gitlab.holi.team:app/holi-app-events.git holi-app-events # these are technically not used in a local development environment, but they # make use of common definitions from holi-meta. If you want to check them out, diff --git a/mprocs-local-backend.yaml b/mprocs-local-backend.yaml index fe59e95..3a6a779 100644 --- a/mprocs-local-backend.yaml +++ b/mprocs-local-backend.yaml @@ -121,6 +121,18 @@ procs: echo starting fake; FAKE="true" ./mprocs-start.sh; fi; + app-events: + cwd: <CONFIG_DIR>/holi-app-events + shell: > + . ../.envrc.local.backends; + . ./.envrc.local; + deno install; + if [ "$LOCAL_BACKEND_EVENTS" = "true" ]; then + ./mprocs-start.sh; + else + echo starting fake; + FAKE="true" ./mprocs-start.sh; + fi; translation-api: cwd: <CONFIG_DIR>/holi-translation-api shell: > -- GitLab