Skip to content

Abstract-Tech/derex.forum

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.