Derex Plugin to integrate Open edX Forum
-
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
-
Install direnv
-
Allow direnv to create the virtualenv
direnv allow
-
Install with pip
pip install -r requirements.txt pre-commit install --install-hooks
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.