From 2e8c6edce109c4c32e5904ce7d590ef9bdeb63d7 Mon Sep 17 00:00:00 2001 From: Irtaza Akram Date: Mon, 16 Oct 2023 12:40:03 +0500 Subject: [PATCH] feat: forum dockerize --- provision-forum.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/provision-forum.sh b/provision-forum.sh index 98a8104eed..8196628721 100755 --- a/provision-forum.sh +++ b/provision-forum.sh @@ -2,5 +2,7 @@ set -eu -o pipefail set -x -docker compose up -d forum -docker compose exec -T forum bash -e -c 'source /edx/app/forum/ruby_env && source /edx/app/forum/devstack_forum_env && cd /edx/app/forum/cs_comments_service && bundle install --deployment --path /edx/app/forum/.gem/ && bin/rake search:initialize' +name=forum + +docker compose up -d ${name} +docker compose exec -T ${name} bash -e -c 'cd /edx/app/forum/cs_comments_service && make initialize_search' -- "$name"