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

Commit 7c47b22

Browse files
authored
feat: add frontend-app-profile to DevStack (#898)
Changes: - update README - add frontend-app-account service to docker-compose.yml - add frontend-app-account service to docker-compose-host.yml - add frontend-app-account to EDX_SERVICES in options.mk - add frontend-app-account repo to non_release_* repos in repo.sh
1 parent 8ea53b8 commit 7c47b22

5 files changed

Lines changed: 28 additions & 1 deletion

File tree

README.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,8 @@ Instead of a service name or list, you can also run commands like ``make dev.pro
320320
+------------------------------------+-------------------------------------+----------------+--------------+
321321
| `frontend-app-account`_ | http://localhost:1997/ | MFE (React.js) | Extra |
322322
+------------------------------------+-------------------------------------+----------------+--------------+
323+
| `frontend-app-profile`_ | http://localhost:1995/ | MFE (React.js) | Extra |
324+
+------------------------------------+-------------------------------------+----------------+--------------+
323325
| `xqueue`_ | http://localhost:18040/api/v1/ | Python/Django | Extra |
324326
+------------------------------------+-------------------------------------+----------------+--------------+
325327
| `coursegraph` | http://localhost:7474/browser | Tooling (Java) | Extra |
@@ -354,6 +356,7 @@ Some common service combinations include:
354356
.. _frontend-app-library-authoring: https://github.com/edx/frontend-app-library-authoring
355357
.. _frontend-app-course-authoring: https://github.com/edx/frontend-app-course-authoring
356358
.. _frontend-app-account: https://github.com/edx/frontend-app-account
359+
.. _frontend-app-profile: https://github.com/openedx/frontend-app-profile
357360
.. _frontend-app-authn: https://github.com/openedx/frontend-app-authn
358361
.. _xqueue: https://github.com/edx/xqueue
359362
.. _coursegraph: https://github.com/edx/edx-platform/tree/master/openedx/core/djangoapps/coursegraph

docker-compose-host.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,12 @@ services:
6565
- frontend_app_account_node_modules:/edx/app/frontend-app-account/node_modules
6666
- ${DEVSTACK_WORKSPACE}/src:/edx/app/src
6767

68+
frontend-app-profile:
69+
volumes:
70+
- ${DEVSTACK_WORKSPACE}/frontend-app-profile:/edx/app/frontend-app-profile
71+
- frontend_app_profile_node_modules:/edx/app/frontend-app-profile/node_modules
72+
- ${DEVSTACK_WORKSPACE}/src:/edx/app/src
73+
6874
frontend-app-authn:
6975
volumes:
7076
- ${DEVSTACK_WORKSPACE}/frontend-app-authn:/edx/app/frontend-app-authn
@@ -121,6 +127,7 @@ volumes:
121127
edxapp_node_modules:
122128
edxapp_uploads:
123129
frontend_app_account_node_modules:
130+
frontend_app_profile_node_modules:
124131
frontend_app_authn_node_modules:
125132
frontend_app_course_authoring_node_modules:
126133
frontend_app_gradebook_node_modules:

docker-compose.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -652,6 +652,21 @@ services:
652652
depends_on:
653653
- lms
654654

655+
frontend-app-profile:
656+
extends:
657+
file: microfrontend.yml
658+
service: microfrontend
659+
working_dir: '/edx/app/frontend-app-profile'
660+
container_name: "edx.${COMPOSE_PROJECT_NAME:-devstack}.frontend-app-profile"
661+
networks:
662+
default:
663+
aliases:
664+
- edx.devstack.frontend-app-profile
665+
ports:
666+
- "1995:1995"
667+
depends_on:
668+
- lms
669+
655670
frontend-app-authn:
656671
extends:
657672
file: microfrontend.yml

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-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+studio+studio_watcher+xqueue+xqueue_consumer
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+studio+studio_watcher+xqueue+xqueue_consumer
7171

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

repo.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ non_release_repos=(
4545
"https://github.com/edx/registrar.git"
4646
"https://github.com/edx/frontend-app-program-console.git"
4747
"https://github.com/edx/frontend-app-account.git"
48+
"https://github.com/openedx/frontend-app-profile.git"
4849
"https://github.com/edx/frontend-app-ora-grading.git"
4950
)
5051

@@ -73,6 +74,7 @@ non_release_ssh_repos=(
7374
"git@github.com:edx/registrar.git"
7475
"git@github.com:edx/frontend-app-program-console.git"
7576
"git@github.com:edx/frontend-app-account.git"
77+
"git@github.com:openedx/frontend-app-profile.git"
7678
"git@github.com:edx/frontend-app-ora-grading.git"
7779
)
7880

0 commit comments

Comments
 (0)