Skip to main content

Tutor plugin for WooCommerce

Project description

PyPI releases AGPL License

Overview

This is a Tutor plugin for integrating the Open edX Commerce WordPress Plugin with your Open edX instance. The plugin allows seamless synchronization and interaction between your WordPress site and Open edX platform, providing a cohesive e-commerce experience. If you don’t know how to install the WordPress plugin, check out this installation guide.

Prerequisites

Installation

Ensure you are using Tutor v15+ (Olive onwards). First, install the plugin by running:

pip install -U tutor-contrib-wordpress

Enable the plugin and run the launch command:

tutor plugins enable wordpress
tutor dev|local|k8s launch

Alternatively, if you already have a running Open edX instance, just run the necessary jobs:

tutor dev|local|k8s do init --limit=wordpress

Configuration

Inside your WordPress admin panel, you will need to configure the following values:

  • Open edX Domain

  • Client ID

  • Client Secret

Open edX Sync Plugin Settings in your WordPress Settings

You can retrieve these configuration values by running:

tutor wordpress config
===============================================
        WordPress Plugin Configurations
===============================================

Open edX Domain: http://local.edly.io
Client ID: qjCayDktffXrU09N17NrslKyWQ2EwzWn
Client ID (dev): JDx6Uy0hN67VUfacxKcLyYQz7HK9liVx
Client Secret: P4w82huaZQdyz4qolknsIHYneGEoIggc

Or by using Tutor to print them individually:

tutor config printvalue LMS_HOST
tutor config printvalue WORDPRESS_OAUTH2_SECRET
tutor config printvalue WORDPRESS_OAUTH2_KEY_SSO
tutor config printvalue WORDPRESS_OAUTH2_KEY_SSO_DEV

Contributing

We welcome all contributions! Feel free to open a Pull Request.

License

This software is licensed under the terms of the AGPLv3.

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

tutor-contrib-wordpress-1.0.1.tar.gz (16.9 kB view details)

Uploaded Source

File details

Details for the file tutor-contrib-wordpress-1.0.1.tar.gz.

File metadata

File hashes

Hashes for tutor-contrib-wordpress-1.0.1.tar.gz
Algorithm Hash digest
SHA256 bc01cdfb35011d5e5b61f63b797421972b886067d08c9e05536bbb712c402c01
MD5 e1e12e6d53d3e80ddc5b8cf3949b6ba7
BLAKE2b-256 7b9b88a31c9ce2b468866601a9834b50315af02a2a024d84c89958b180045b8e

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page