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

Commit c7118f8

Browse files
SaadYousafSaadYousaf
authored andcommitted
feat: add command to build indices for forum service
1 parent d1e0a52 commit c7118f8

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -420,6 +420,9 @@ dev.restart-devserver: _expects-service.dev.restart-devserver
420420
dev.restart-devserver.forum:
421421
docker-compose exec forum bash -c 'kill $$(ps aux | grep "ruby app.rb" | egrep -v "while|grep" | awk "{print \$$2}")'
422422

423+
dev.forum.build-indices: ## Build indices for forum service
424+
docker-compose exec forum bash -c "cd forum && source ruby_env && source devstack_forum_env && cd cs_comments_service/ && bin/rake search:rebuild_indices"
425+
423426
dev.restart-devserver.%: ## Kill an edX service's development server. Watcher should restart it.
424427
# Applicable to Django services only.
425428
docker-compose exec $* bash -c 'kill $$(ps aux | egrep "manage.py ?\w* runserver" | egrep -v "while|grep" | awk "{print \$$2}")'

0 commit comments

Comments
 (0)