Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

Commit

Permalink
feat: forum dockerize
Browse files Browse the repository at this point in the history
  • Loading branch information
irtazaakram committed Oct 16, 2023
1 parent d9ff540 commit 2e8c6ed
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions provision-forum.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 2e8c6ed

Please sign in to comment.