Richie site factory plugin for Tutor
Project description
Richie site factory plugin for Tutor
This is a plugin to integrate multiple Richie sites, the learning portal CMS, with Open edX. The integration takes the form of a Tutor plugin.
Dependencies
You should have create your own Richie site factory, go to https://richie.education/docs/cookiecutter/ to know more about it.
Installation
pip install tutor-contrib-richie-site-factory
tutor plugins enable richie-site-factory
Running the Richie plugin will require that you rebuild the "openedx" Docker image:
tutor config save
tutor images build openedx
This step is necessary to install the Richie connector app in edx-platform.
Then, the platform can be launched as usual with:
tutor local quickstart
This plugins allows to run multiple Richie instance sites. So you have to configure each site factory sites so each can be run inside Tutor.
Gettting started
Once your Richie platform is up and running, you will quickly realize that your learning portal is empty. This is because you should first create the corresponding courses and organizations from inside Richie. To do so, start by creating a super user:
tutor local run richie python manage.py createsuperuser
You can then use the credentials you just created at http(s)://yourrichiehost/admin. In development, this is http://courses.local.overhang.io/admin.
Then, refer to the official Richie documentation to learn how to create courses and organizations.
You may also want to fill your learning portal with a demo site -- but be careful not to run this command in production, as it will be difficult to get rid of the demo site afterwards:
# WARNING: do not attempt this in production!
tutor local run richie-<mysite> python manage.py create_demo_site --force
Configuration
This Tutor plugin comes with a few configuration settings:
RICHIE_RELEASE_VERSION(default:"v1.27.1") - the default version of the demo siteRICHIE_HOST(default:"courses.{{ LMS_HOST }}") - the marketing domain name at which the Open edX will be configured
Other are per site, replace the {site} with the name of your site:
RICHIE_{site}_MYSQL_DATABASE(default:"richie-{site}")RICHIE_{site}_MYSQL_USERNAME(default:"richie-{site}")RICHIE_{site}_HOST(default:"{site}.{{LMS_HOST}}")RICHIE_{site}_DOCKER_IMAGEthe fun-mooc demo instance imageRICHIE_{site}_BUCKET_NAME(default:"richie-{site}-uploads")RICHIE_{site}_MEDIA_BUCKET_NAME(default:"richie-{site}-media")RICHIE_{site}_ELASTICSEARCH_INDICES_PREFIX(default:"richie-{site}")
If you need to completely customize the production environment, you can use the Tutor patch richie-{{site}}-production-env.
These defaults should be enough for most users. To modify any one of them, run:
tutor config save --set RICHIE_SETTING_NAME=myvalue
For instance, to customize the domain name at which Richie will run:
tutor config save --set "RICHIE_HOST=mysubdomain.{{ LMS_HOST }}"
Development
Bind-mount volume:
tutor dev bindmount richie /app/richie
Then, run a development server:
tutor dev runserver --volume=/app/richie richie
The Richie development server will be available at http://courses.local.overhang.io:8003.
Troubleshooting
Do you need help with this plugin? Get in touch by opening a GitHub issue: https://github.com/fccn/tutor-contrib-richie-site-factory/issues/
Release
- Increase the version in __about.py file, eg. 18.0.0.
- Open a PR and merge it.
- Then create a Git Tag with for the same version, v18.0.0
git tag v18.0.0
git push origin v18.0.0
License
This software is licensed under the terms of the AGPLv3. It was originally developed by Overhang.io with a sponsorship of France Université Numérique. Currently, it's maintained by NAU - FCCN|FCT.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tutor_contrib_richie_site_factory-18.0.0.tar.gz.
File metadata
- Download URL: tutor_contrib_richie_site_factory-18.0.0.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b17301020022db012400489d9f5e62327a9edbb62484c9705bdc068f8aea2eb1
|
|
| MD5 |
f44486c0b34014f24d00650914054e3b
|
|
| BLAKE2b-256 |
73f557c3f7ff5f5d6077d35b67fa491ff6ab56b0555b75bb88dbe9ea7ec5d4bd
|
Provenance
The following attestation bundles were made for tutor_contrib_richie_site_factory-18.0.0.tar.gz:
Publisher:
publish-pypi.yml on fccn/tutor-contrib-richie-site-factory
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tutor_contrib_richie_site_factory-18.0.0.tar.gz -
Subject digest:
b17301020022db012400489d9f5e62327a9edbb62484c9705bdc068f8aea2eb1 - Sigstore transparency entry: 178544330
- Sigstore integration time:
-
Permalink:
fccn/tutor-contrib-richie-site-factory@1a5201a5790b378797b3e2bce5eadb3012e0fae9 -
Branch / Tag:
refs/tags/v18.0.0 - Owner: https://github.com/fccn
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@1a5201a5790b378797b3e2bce5eadb3012e0fae9 -
Trigger Event:
push
-
Statement type:
File details
Details for the file tutor_contrib_richie_site_factory-18.0.0-py3-none-any.whl.
File metadata
- Download URL: tutor_contrib_richie_site_factory-18.0.0-py3-none-any.whl
- Upload date:
- Size: 10.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
176d35af2437788dd6bef76392cf2615bc6c4b39bdbbf90159d0f8d8da895589
|
|
| MD5 |
f8cf39ce5daab384808f6067c60554bf
|
|
| BLAKE2b-256 |
6876e74fb765475a36f8c28ed84712c3d6314f9b9fed8bf24e1705c2bf2468f5
|
Provenance
The following attestation bundles were made for tutor_contrib_richie_site_factory-18.0.0-py3-none-any.whl:
Publisher:
publish-pypi.yml on fccn/tutor-contrib-richie-site-factory
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tutor_contrib_richie_site_factory-18.0.0-py3-none-any.whl -
Subject digest:
176d35af2437788dd6bef76392cf2615bc6c4b39bdbbf90159d0f8d8da895589 - Sigstore transparency entry: 178544332
- Sigstore integration time:
-
Permalink:
fccn/tutor-contrib-richie-site-factory@1a5201a5790b378797b3e2bce5eadb3012e0fae9 -
Branch / Tag:
refs/tags/v18.0.0 - Owner: https://github.com/fccn
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@1a5201a5790b378797b3e2bce5eadb3012e0fae9 -
Trigger Event:
push
-
Statement type: