Skip to content

Commit

Permalink
feat: add frontend-app-ora-grading to devstack as an extra service
Browse files Browse the repository at this point in the history
  • Loading branch information
leangseu-edx committed Oct 21, 2021
1 parent 1299836 commit 0632162
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ It also includes the following extra components:
* The Library Authoring micro-frontend
* edX Registrar service.
* The course-authoring micro-frontend
* The enhanced staff grader (ora-grading) micro-frontend


.. contents:: **Table of Contents:**
Expand Down Expand Up @@ -321,6 +322,8 @@ Instead of a service name or list, you can also run commands like ``make dev.pro
+------------------------------------+-------------------------------------+----------------+--------------+
| `insights` | http://localhost:18110 | Python/Django | Extra |
+------------------------------------+-------------------------------------+----------------+--------------+
| `frontend-app-ora-grading` | http://localhost:1993 | MFE (React.js) | Extra |
+------------------------------------+-------------------------------------+----------------+--------------+

Some common service combinations include:

Expand All @@ -347,6 +350,7 @@ Some common service combinations include:
.. _frontend-app-account: https://github.com/edx/frontend-app-account
.. _xqueue: https://github.com/edx/xqueue
.. _coursegraph: https://github.com/edx/edx-platform/tree/master/openedx/core/djangoapps/coursegraph
.. _frontend-app-ora-grading: https://github.com/edx/frontend-app-ora-grading


Known Issues
Expand Down
6 changes: 6 additions & 0 deletions docker-compose-host.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,11 @@ services:
- ${DEVSTACK_WORKSPACE}/frontend-app-gradebook:/edx/app/frontend-app-gradebook
- frontend_app_gradebook_node_modules:/edx/app/frontend-app-gradebook/node_modules
- ${DEVSTACK_WORKSPACE}/src:/edx/app/src
frontend-app-ora-grading:
volumes:
- ${DEVSTACK_WORKSPACE}/frontend-app-ora-grading:/edx/app/frontend-app-ora-grading
- frontend_app_ora_grading_node_modules:/edx/app/frontend-app-ora-grading/node_modules
- ${DEVSTACK_WORKSPACE}/src:/edx/app/src
frontend-app-learning:
volumes:
- ${DEVSTACK_WORKSPACE}/frontend-app-learning:/edx/app/frontend-app-learning
Expand Down Expand Up @@ -109,6 +114,7 @@ volumes:
frontend_app_account_node_modules:
frontend_app_course_authoring_node_modules:
frontend_app_gradebook_node_modules:
frontend_app_ora_grading_node_modules:
frontend_app_learning_node_modules:
frontend_app_library_authoring_node_modules:
frontend_app_payment_node_modules:
Expand Down
15 changes: 15 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -568,6 +568,21 @@ services:
- "1994:1994"
depends_on:
- lms

frontend-app-ora-grading:
extends:
file: microfrontend.yml
service: microfrontend
working_dir: '/edx/app/frontend-app-ora-grading'
container_name: "edx.${COMPOSE_PROJECT_NAME:-devstack}.frontend-app-ora-grading"
networks:
default:
aliases:
- edx.devstack.frontend-app-ora-grading
ports:
- "1993:1993"
depends_on:
- lms

frontend-app-learning:
extends:
Expand Down
2 changes: 1 addition & 1 deletion options.mk
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ credentials+discovery+ecommerce+edx_notes_api+forum+frontend-app-gradebook+front
# Separated by plus signs.
# Separated by plus signs. Listed in alphabetical order for clarity.
EDX_SERVICES ?= \
credentials+discovery+ecommerce+edx_notes_api+forum+frontend-app-account+frontend-app-course-authoring+frontend-app-gradebook+frontend-app-learning+frontend-app-library-authoring+frontend-app-payment+frontend-app-program-console+frontend-app-publisher+insights+lms+lms_watcher+registrar+registrar-worker+studio+studio_watcher+xqueue+xqueue_consumer
credentials+discovery+ecommerce+edx_notes_api+forum+frontend-app-account+frontend-app-course-authoring+frontend-app-gradebook+frontend-app-ora-grading+frontend-app-learning+frontend-app-library-authoring+frontend-app-payment+frontend-app-program-console+frontend-app-publisher+insights+lms+lms_watcher+registrar+registrar-worker+studio+studio_watcher+xqueue+xqueue_consumer

# Services with database migrations.
# Should be a subset of $(EDX_SERVICES).
Expand Down
2 changes: 2 additions & 0 deletions repo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ non_release_repos=(
"https://github.com/edx/registrar.git"
"https://github.com/edx/frontend-app-program-console.git"
"https://github.com/edx/frontend-app-account.git"
"https://github.com/edx/frontend-app-ora-grading.git"
)

ssh_repos=(
Expand All @@ -66,6 +67,7 @@ non_release_ssh_repos=(
"[email protected]:edx/registrar.git"
"[email protected]:edx/frontend-app-program-console.git"
"[email protected]:edx/frontend-app-account.git"
"[email protected]:edx/frontend-app-ora-grading.git"
)

private_repos=(
Expand Down

0 comments on commit 0632162

Please sign in to comment.