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

Commit 7c1026a

Browse files
authored
Merge pull request #1278 from openedx/dkaplan1/APER-3211_add-learner-home-to-devstack
feat: adding two MFEs to devstack
2 parents 0c7bf92 + 8f698a7 commit 7c1026a

File tree

6 files changed

+56
-1
lines changed

6 files changed

+56
-1
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,9 @@ ENV/
8888
# OS X
8989
.DS_Store
9090

91+
# VSCode
92+
.vscode/
93+
9194
# PyCharm
9295
.idea/
9396

docker-compose-host.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,16 @@ services:
9393
- ${DEVSTACK_WORKSPACE}/frontend-app-ora-grading:/edx/app/frontend-app-ora-grading
9494
- frontend_app_ora_grading_node_modules:/edx/app/frontend-app-ora-grading/node_modules
9595
- ${DEVSTACK_WORKSPACE}/src:/edx/app/src
96+
frontend-app-learner-dashboard:
97+
volumes:
98+
- ${DEVSTACK_WORKSPACE}/frontend-app-learner-dashboard:/edx/app/frontend-app-learner-dashboard
99+
- frontend_app_learner_dashboard_node_modules:/edx/app/frontend-app-learner-dashboard/node_modules
100+
- ${DEVSTACK_WORKSPACE}/src:/edx/app/src
101+
frontend-app-learner-record:
102+
volumes:
103+
- ${DEVSTACK_WORKSPACE}/frontend-app-learner-record:/edx/app/frontend-app-learner-record
104+
- frontend_app_learner_record_node_modules:/edx/app/frontend-app-learner-record/node_modules
105+
- ${DEVSTACK_WORKSPACE}/src:/edx/app/src
96106
frontend-app-learning:
97107
volumes:
98108
- ${DEVSTACK_WORKSPACE}/frontend-app-learning:/edx/app/frontend-app-learning
@@ -133,6 +143,8 @@ volumes:
133143
frontend_app_course_authoring_node_modules:
134144
frontend_app_gradebook_node_modules:
135145
frontend_app_ora_grading_node_modules:
146+
frontend_app_learner_dashboard_node_modules:
147+
frontend_app_learner_record_node_modules:
136148
frontend_app_learning_node_modules:
137149
frontend_app_library_authoring_node_modules:
138150
frontend_app_payment_node_modules:

docker-compose.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -759,6 +759,36 @@ services:
759759
depends_on:
760760
- lms
761761

762+
frontend-app-learner-dashboard:
763+
extends:
764+
file: microfrontend.yml
765+
service: microfrontend
766+
working_dir: '/edx/app/frontend-app-learner-dashboard'
767+
container_name: "edx.${COMPOSE_PROJECT_NAME:-devstack}.frontend-app-learner-dashboard"
768+
networks:
769+
default:
770+
aliases:
771+
- edx.devstack.frontend-app-learner-dashboard
772+
ports:
773+
- "1996:1996"
774+
depends_on:
775+
- lms
776+
777+
frontend-app-learner-record:
778+
extends:
779+
file: microfrontend.yml
780+
service: microfrontend
781+
working_dir: '/edx/app/frontend-app-learner-record'
782+
container_name: "edx.${COMPOSE_PROJECT_NAME:-devstack}.frontend-app-learner-record"
783+
networks:
784+
default:
785+
aliases:
786+
- edx.devstack.frontend-app-learner-record
787+
ports:
788+
- "1990:1990"
789+
depends_on:
790+
- lms
791+
762792
frontend-app-learning:
763793
extends:
764794
file: microfrontend.yml

docs/service_list.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ Instead of a service name or list, you can also run commands like ``make dev.pro
2727
+------------------------------------+-------------------------------------+----------------+--------------+
2828
| `edx_notes_api`_ | http://localhost:18120/api/v1/ | Python/Django | Default |
2929
+------------------------------------+-------------------------------------+----------------+--------------+
30+
| `frontend-app-learner-dashboard`_ | http://localhost:1996/ | MFE (React.js) | Default |
31+
+------------------------------------+-------------------------------------+----------------+--------------+
32+
| `frontend-app-learner-record`_ | http://localhost:1990/ | MFE (React.js) | Default |
33+
+------------------------------------+-------------------------------------+----------------+--------------+
3034
| `frontend-app-learning`_ | http://localhost:2000/ | MFE (React.js) | Default |
3135
+------------------------------------+-------------------------------------+----------------+--------------+
3236
| `frontend-app-payment`_ | http://localhost:1998/ | MFE (React.js) | Default |
@@ -78,6 +82,8 @@ Some common service combinations include:
7882
.. _frontend-app-program-console: https://github.com/openedx/frontend-app-program-console
7983
.. _registrar: https://github.com/openedx/registrar
8084
.. _cms: https://github.com/openedx/edx-platform
85+
.. _frontend-app-learner-dashboard: https://github.com/openedx/frontend-app-learner-dashboard
86+
.. _frontend-app-learner-record: https://github.com/openedx/frontend-app-learner-record
8187
.. _frontend-app-learning: https://github.com/openedx/frontend-app-learning
8288
.. _frontend-app-library-authoring: https://github.com/openedx/frontend-app-library-authoring
8389
.. _frontend-app-course-authoring: https://github.com/openedx/frontend-app-course-authoring

options.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ credentials+discovery+ecommerce+edx_notes_api+forum+frontend-app-authn+frontend-
6767
# Separated by plus signs.
6868
# Separated by plus signs. Listed in alphabetical order for clarity.
6969
EDX_SERVICES ?= \
70-
analyticsapi+credentials+discovery+ecommerce+edx_notes_api+forum+frontend-app-account+frontend-app-profile+frontend-app-authn+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+cms+cms_watcher+xqueue+xqueue_consumer
70+
analyticsapi+credentials+discovery+ecommerce+edx_notes_api+forum+frontend-app-account+frontend-app-learner-dashboard+frontend-app-learner-record+frontend-app-profile+frontend-app-authn+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+cms+cms_watcher+xqueue+xqueue_consumer
7171

7272
# Services with database migrations.
7373
# Should be a subset of $(EDX_SERVICES).

repo.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ repos=(
3030
"https://github.com/openedx/xqueue.git"
3131
"https://github.com/openedx/edx-analytics-dashboard.git"
3232
"https://github.com/openedx/frontend-app-gradebook.git"
33+
"https://github.com/openedx/frontend-app-learner-dashboard"
34+
"https://github.com/openedx/frontend-app-learner-record"
3335
"https://github.com/openedx/frontend-app-payment.git"
3436
"https://github.com/openedx/frontend-app-publisher.git"
3537
"https://github.com/openedx/edx-analytics-dashboard.git"
@@ -58,6 +60,8 @@ ssh_repos=(
5860
"[email protected]:openedx/xqueue.git"
5961
"[email protected]:openedx/edx-analytics-dashboard.git"
6062
"[email protected]:openedx/frontend-app-gradebook.git"
63+
"[email protected]:openedx/frontend-app-learner-dashboard.git"
64+
"[email protected]:openedx/frontend-app-learner-record.git"
6165
"[email protected]:openedx/frontend-app-payment.git"
6266
"[email protected]:openedx/frontend-app-publisher.git"
6367
"[email protected]:openedx/edx-analytics-dashboard.git"

0 commit comments

Comments
 (0)