Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Checkout the frontend repository

  2. On you local machine install node requirements using an npm version suitable for that codebase.

  3. Run tutor dev with --mount

    Code Block
    tutor dev start learning \
          -m learning:$HOME/workspace$YOUR_PROJECT_WORKSPACE/frontend-app-learning:/openedx/app

...

*note the MFE_ prefix, this is important for your settings to get picked up by tutor-mfe

To pick up your changes you will either need to initialize the mfe plugin. (quickstart will also do this)

Code Block
languagebash
tutor dev init -l mfe

The newly added MFE can be run using the name used in config.yml

Code Block
tutor dev start authoring \
      -m authoring:$YOUR_PROJECT_WORKSPACE/frontend-app-course-authoring:/openedx/app

Quickstart edx-enterprise Development in Tutor

...