Skip to content

Commit

Permalink
Add learning MFE to devstack
Browse files Browse the repository at this point in the history
  • Loading branch information
stvstnfrd committed May 19, 2020
1 parent df2bb83 commit c90b4a0
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,7 @@ In all the above commands, ``<service>`` should be replaced with one of the foll
- registrar
- gradebook
- program-console
- frontend-app-learning
- frontend-app-publisher

If you'd like to add some convenience make targets, you can add them to a ``local.mk`` file, ignored by git.
Expand Down
5 changes: 5 additions & 0 deletions docker-compose-host-nfs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ services:
volumes:
- ${DEVSTACK_WORKSPACE}/frontend-app-program-console:/edx/app/program-console:cached
- program_console_node_modules:/edx/app/program-console/node_modules
frontend-app-learning:
volumes:
- ${DEVSTACK_WORKSPACE}/frontend-app-learning:/edx/app/frontend-app-learning:cached
- frontend_app_learning_node_modules:/edx/app/frontend-app-learning/node_modules
frontend-app-publisher:
volumes:
- ${DEVSTACK_WORKSPACE}/frontend-app-publisher:/edx/app/frontend-app-publisher:cached
Expand All @@ -67,6 +71,7 @@ volumes:
edxapp_uploads:
gradebook_node_modules:
program_console_node_modules:
frontend_app_learning_node_modules:
frontend_app_publisher_node_modules:
edx-nfs:
driver: local
Expand Down
5 changes: 5 additions & 0 deletions docker-compose-host.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ services:
volumes:
- ${DEVSTACK_WORKSPACE}/frontend-app-publisher:/edx/app/frontend-app-publisher:cached
- frontend_app_publisher_node_modules:/edx/app/frontend-app-publisher/node_modules
frontend-app-learning:
volumes:
- ${DEVSTACK_WORKSPACE}/frontend-app-learning:/edx/app/frontend-app-learning:cached
- frontend_app_learning_node_modules:/edx/app/frontend-app-learning/node_modules

volumes:
credentials_node_modules:
Expand All @@ -68,3 +72,4 @@ volumes:
gradebook_node_modules:
program_console_node_modules:
frontend_app_publisher_node_modules:
frontend_app_learning_node_modules:
11 changes: 11 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,17 @@ services:
- lms
- registrar

frontend-app-learning:
extends:
file: microfrontend.yml
service: microfrontend
working_dir: '/edx/app/frontend-app-learning'
container_name: edx.devstack.frontend-app-learning
ports:
- "2000:2000"
depends_on:
- lms

volumes:
discovery_assets:
edxapp_lms_assets:
Expand Down
5 changes: 5 additions & 0 deletions docker-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,8 @@ syncs:
host_disk_mount_mode: 'cached'
src: '../frontend-app-program-console/'
sync_excludes: [ '.git', '.idea' ]

frontend-app-learning-sync:
host_disk_mount_mode: 'cached'
src: '../frontend-app-learning/'
sync_excludes: [ '.git', '.idea' ]
2 changes: 2 additions & 0 deletions repo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ repos=(
)

non_release_repos=(
"https://github.com/edx/frontend-app-learning.git"
"https://github.com/edx/registrar.git"
"https://github.com/edx/frontend-app-program-console.git"
)
Expand All @@ -54,6 +55,7 @@ ssh_repos=(
)

non_release_ssh_repos=(
"[email protected]:edx/frontend-app-learning.git"
"[email protected]:edx/registrar.git"
"[email protected]:edx/frontend-app-program-console.git"
)
Expand Down

0 comments on commit c90b4a0

Please sign in to comment.