Giter VIP home page Giter VIP logo

raccoongang / edx-platform Goto Github PK

View Code? Open in Web Editor NEW

This project forked from openedx/edx-platform

11.0 24.0 14.0 2.28 GB

Open edX, the edX platform that powers http://edx.org

Home Page: http://openedx.org/

License: GNU Affero General Public License v3.0

Python 70.91% JavaScript 17.73% CSS 0.03% HTML 7.58% Shell 0.06% ActionScript 0.01% Makefile 0.03% SCSS 3.61% Dockerfile 0.02% Jinja 0.01% Mustache 0.01% ASL 0.02%

edx-platform's Introduction

Open edX Platform

Purpose

The Open edX Platform is a service-oriented platform for authoring and delivering online learning at any scale. The platform is written in Python and JavaScript and makes extensive use of the Django framework. At the highest level, the platform is composed of a monolith, some independently deployable applications (IDAs), and micro-frontends (MFEs) based on the ReactJS.

This repository hosts the monolith at the center of the Open edX platform. Functionally, the edx-platform repository provides two services:

  • CMS (Content Management Service), which powers Open edX Studio, the platform's learning content authoring environment; and
  • LMS (Learning Management Service), which delivers learning content.

Documentation

Documentation can be found at https://docs.openedx.org/projects/edx-platform.

Getting Started

For Production

Installing and running an Open edX instance is not simple. We strongly recommend that you use a service provider to run the software for you. They have free trials that make it easy to get started: https://openedx.org/get-started/

However, if you have the time and expertise, then it is is possible to self-manage a production Open edX instance. To help you build, customize, upgrade, and scale your instance, we recommend using Tutor, the community-supported, Docker-based Open edX distribution.

You can read more about getting up and running with a Tutor deployment at the Site Ops home on docs.openedx.org.

For Development

Tutor also features a development mode which will also help you modify, test, and extend edx-platform. We recommend this method for all Open edX developers.

Bare Metal (Advanced)

It is also possible to spin up an Open edX platform directly on a Linux host. This method is less common and mostly undocumented. The Open edX community will only be able to provided limited support for it.

Running "bare metal" is only advisable for (a) developers seeking an adventure and (b) experienced system administrators who are willing to take the complexity of Open edX configuration and deployment into their own hands.

System Dependencies

Interperters/Tools:

  • Python 3.11
  • Node 18

Services:

  • MySQL 8.0
  • Mongo 7.x
  • Memcached

Language Packages:

  • Frontend:
    • npm clean-install (production)
    • npm clean-install --dev (development)
  • Backend build:
    • pip install -r requirements/edx/assets.txt
  • Backend application:
    • pip install -r requirements/edx/base.txt (production)
    • pip install -r requirements/edx/dev.txt (development)

Build Steps

Create two MySQL databases and a MySQL user with write permissions to both, and configure Django to use them by updating the DATABASES setting.

Then, run migrations:

./manage.py lms migrate
./manage.py lms migrate --database=student_module_history
./manage.py cms migrate

Build static assets (for more details, see building static assets):

npm run build  # or, 'build-dev'

Download locales and collect static assets (can be skipped for development sites):

make pull_translations
./manage.py lms collectstatic
./manage.py cms collectstatic

Run the Platform

First, ensure MySQL, Mongo, and Memcached are running.

Start the LMS:

./manage.py lms runserver

Start the CMS:

./manage.py cms runserver

This will give you a mostly-headless Open edX platform. Most frontends have been migrated to "Micro-Frontends (MFEs)" which need to be installed and run separately. At a bare minimum, you will need to run the Authentication MFE, Learner Home MFE, and Learning MFE in order meaningfully navigate the UI.

License

The code in this repository is licensed under version 3 of the AGPL unless otherwise noted. Please see the LICENSE file for details.

More about Open edX

See the Open edX site to learn more about the Open edX world. You can find information about hosting, extending, and contributing to Open edX software. In addition, the Open edX site provides product announcements, the Open edX blog, and other rich community resources.

Getting Help

If you're having trouble, we have discussion forums at https://discuss.openedx.org where you can connect with others in the community.

Our real-time conversations are on Slack. You can request a Slack invitation, then join our community Slack team.

For more information about these options, see the Getting Help page.

Issue Tracker

We use Github Issues for our issue tracker. You can search previously reported issues. If you need to report a bug, or want to discuss a new feature before you implement it, please create a new issue.

How to Contribute

Contributions are welcome! The first step is to submit a signed individual contributor agreement. See our CONTRIBUTING file for more information โ€“ it also contains guidelines for how to maintain high code quality, which will make your contribution more likely to be accepted.

New features are accepted. Discussing your new ideas with the maintainers before you write code will also increase the chances that your work is accepted.

Code of Conduct

Please read the Community Code of Conduct for interacting with this repository.

Reporting Security Issues

Please do not report security issues in public. Please email [email protected].

People

The current maintainers of this repository can be found on Backstage.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.