Skip to content

Latest commit

 

History

History
49 lines (33 loc) · 1.11 KB

File metadata and controls

49 lines (33 loc) · 1.11 KB

Derex Forum

Github Actions

Derex Plugin to integrate Open edX Forum

Setup

  • Install this package inside a derex project environment

  • Add to the project derex.config.yaml

    plugins:
      derex.forum: {}
  • Add to the project Django settings

    COMMENTS_SERVICE_URL = 'http://forum:4567'
    COMMENTS_SERVICE_KEY = 'forumapikey'
    FEATURES["ENABLE_DISCUSSION_SERVICE"] = True
  • Create the Elasticsearch index

    derex forum create-index

Development

  • Install direnv

  • Allow direnv to create the virtualenv

    direnv allow
  • Install with pip

    pip install -r requirements.txt
    pre-commit install --install-hooks

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.