Use python library to build relate LMS Learning Management System

 

Relate is an Environment for Learning And TEaching

Relate is built on top of Django, you can quickly build LMS system, which can be easily distributed learning management and online courses;

Since recently get a python of course, so do it yourself tested the following framework

 

Relate itself contains background management system, according to the official documentation of the installation configuration you can start the back office systems

 

relate to the writing itself is organized and course-related materials and testing based on YAML and MARKDOWN.

The language can be converted into another format by pandoc

relate can render jupyter notebook while embedded in the video

 

relate itself as a separate server and curriculum development, curriculum development is a git of repo, then just tell where to find enough relate

Here to talk about the step of applying course Examples relate created:

1. Follow the directions to start the service:

https://documen.tician.de/relate/misc.html

 

Do not forget to run here npm install this command oh

 

2. Start the server and when will enter the mailbox password

3. Open the local port 8000 in a browser, you can access the web application, when logged in using a user name and password; where username is the user name of the computer, the password is the password set 2

4. The attempt to repair LOCAL_SETTINGS . Py, wherein important parts as follows:

 

# {{{ database and site

SECRET_KEY = 'xxx'

ALLOWED_HOSTS = [
        "relate.example.com",
        "127.0.0.1",
        ]

 

EMAIL_HOST = 'smtp.whu.edu.cn'
EMAIL_HOST_USER = '[email protected]'
EMAIL_HOST_PASSWORD = 'xxxxx'
EMAIL_PORT = 25
EMAIL_USE_TLS = True  # definitely true here


ROBOT_EMAIL_FROM = "[email protected]"
RELATE_ADMIN_EMAIL_LOCALE = "en_US"

SERVER_EMAIL = ROBOT_EMAIL_FROM

# ADMINS = (
#     ("Example Admin", "[email protected]"),
#     )
ADMINS = (
    ("[email protected]", ),
    )

Pay attention to your mail service to open smtp service -

by logging will relate to this mailbox, and then send a link to a user wants to log in (if the user wants to log in using the email then this may be the main users are students or administrators), the user opens their mailbox, see the link and click to enter this user can access the system.

# {{{ sign-in methods

RELATE_SIGN_IN_BY_EMAIL_ENABLED = True
RELATE_SIGN_IN_BY_USERNAME_ENABLED = True
RELATE_REGISTRATION_ENABLED = True
RELATE_SIGN_IN_BY_EXAM_TICKETS_ENABLED = True

 

LANGUAGE_CODE = 'zh-Hans'

 

Chinese display configured here, noting that this would be the first to install, configure and then oh, installation methods are explained in detail in the document

5. Use create a course management system

 

Here's a sample curriculum here

https://github.com/inducer/relate-sample

 

You can see there are basically all the files YAML format

To create a course does not need to be downloaded on the local repo, to be topped git address can, relate stores it to a location (the location of which is configured in the configuration file)

 

 Click to set a new course

 

 

 

Follow the instructions to set it.

 

After setting, then visit the course page you can see the connection, you can point to go take a look, this time with a new e-mail application can login Oh In another browser.

 

6. Access and participation in courses

Access then need to log in, you can log in using e-mail, then e-mail sent will relate a link, click on the link you can log in

To participate in the program need permission. We need to operate in the background

 

Find the following courses in the curriculum module site management which involved the points go 

The user can then increase here to participate in the program on it:

 

 

 

Here, you can achieve a basic user login, to participate in the course of the audit, as well as add courses and access courses, course management and other functions

 

Finally reassuring eradicate established rules relate to develop their own courses like

Here's curriculum and Mo trouble blog is actually very different, first of all it is not public, which followed an increase of a lot of things on management.

Blog can be used in the course of time open, so you can focus on developing the core curriculum.

 

When operations and management courses only need lms system, in general, this system has the following features worth trying to use:

1. develop appropriate curriculum and courseware at a specific time

2. Access control can be achieved

3. unified management and assessment of students' work

4. The calendar includes courses such as curriculum information

The courseware and may contain appropriate link pdf

 

Guess you like

Origin www.cnblogs.com/wybert/p/11580793.html