Open edX Hawthorn.1 发布

https://open.edx.org/blog/all-about-hawthorn

Hawthorn中文为山楂树,是Open edX的第8个版本。Edx于8月4日发布了第一个H版本。可以通过 https://github.com/edx/edx-platform/tree/open-release/hawthorn.1访问这个版本。其他组件也有这个版本号。

The Hawthorn release includes a number of enhancements to the Learner profiles, the ORA component, the Files & Uploads page in Studio and many others. In addition, given many changes to privacy laws around the world (for example, the European Union General Data Protection Regulation (GDPR)), this release also includes privacy-related updates such as a user retirement feature that removes data in response to user requests for deletion . Further highlights are below:

LMS and Learner features

  • We’ve enhanced the learner profiles so that they now include the date a learner joined the platform and any course credentials they have received. This links to social media accounts and helps learners share information with one another.
  • Learners now have the ability to purchase all the courses in a program in just one transaction. This avoids the hassle of having to enter payment information multiple times.
  • New discussion notifications now send an email message the first time a learner’s post receives a comment. The message contains the comment and a link back to the course discussions for easy access.
  • Inline discussions are expanded by default. This change has led to a threefold increase in discussion participation.​

Studio and Course Author Tools

  • Course teams now have the ability to override learner scores for individual problems. This can be done through a setting on both the instructor dashboard and the Staff Debug viewer.
  • Course Reviews can now be viewed and added by learners from within the course experience. Open edX system administrators can configure a reviews provider such as CourseTalk to allows learners to leave reviews for a particular course.
  • Proctored exams have been improved, enabling course teams to add specific exam instructions in the Studio proctored exam settings.
  • The Files & Uploads page has been updated to significantly simplify the experience of adding all types of files to a course. This includes the ability to search and a Hide File Preview option.
  • The ORA problem editor has now been improved. A new interface offers the same formatting options for the prompt that are available for HTML components. You no longer have to create a separate HTML component above the ORA assignment.
  • Weekly course highlight messages can now be sent to encourage learners to remain engaged with self-paced courses. Specify a few highlights for each course section, and the platform sends out a weekly email message that lists these highlights. Courses on edx.org that enabled weekly highlights had higher verification rates than ones without.
  • The HTML components have been updated to give you even more easy formatting options such as aligning your text the way you want: aligned to the left or right, centered, or fully justified. Images to HTML components can be added right inside the HTML component itself, without having to upload files beforehand.
  • The Video Uploads page is enabled by default, course teams who partner with 3Play Media and cielo24, transcripts—including translations of transcripts—are added to Studio automatically.​​

Insights and Analytics

  • Learner grades are now included in weekly data packages. In addition, the “Passing Learners” column has been added to the table on the Courses page in Insights so you can easily see how many learners are currently earning passing grades in your course.
  • We have overhauled the EdX Research Guide, improving the organization and updating the topics.

Deployment Notes

Hawthorn installation follows the same steps as previous releases. Start here to learn about the possibilities: Installation Options.

To upgrade from Ginkgo, please install a new Hawthorn machine and then move and migrate your data from the Ginkgo machine to Hawthorn.

Detailed Release Notes

More detailed release notes, including more technical details, can be found on the Hawthorn release notes page on docs.edx.org/#hawthorn.

Getting Started

To get started with Hawthorn, please take a look at our Open edX installation options and as always, feel free to reach out to us and the community if you have any questions.

Jupyter与Open edX与技术教育

https://jupyter.org/

https://openedx2018.sched.com/event/EUAl/jupyter-based-courses-in-open-edx-authoring-and-grading-with-notebooks

https://data.berkeley.edu/news/coursefuture

对外经济贸易大学金融学院使用Jupyter来进行金融方面的数据研究。他们认为:

  1. Jupyter作为一类开源的集成编程环境的系统,特别适用于教育行业,包括不限于数据分析,编程示例,图形图像等方面。
  2. Jupyter除信息类专业外,还适合国内经管类专业,涵盖金融工程,统计学,量化等专业。
  3. Jupyter支持网页直接接入,账号批量生成和管理,直接导出相关日志和结果,运维成本较低,门槛较低。
  4. 支持多项插件进行辅助实验教学,开放各类接口进行二次开发,目前将题库整合在一起是一个比较好的方向。
  5. 易用性高,已开设的课程统计对比传统集成IDE,学习成本极低,注重教育场合的核心功能,但不适用于大型软件开发。

Beijing Open edX Meetup 2018#1

欢迎参加 Beijing Open edX 2018 第一次活动。本活动适合Open edX的开发者、使用者、研究者,以及对在线教育技术感兴趣的朋友们。

Welcome to the first event of Beijing Open edX 2018. This event is suitable for Open edX developers, users, researchers, and friends interested in online education technology.

Open edX 是最赏心悦目的学习和教学平台。这个开放源码软件提供世界上最佳的视频体验和互动性。它驱动着 edX.org 教育门户中超过270万的用户。斯坦福大学在 class.stanford.edu 使用它为在校学生和远程学习者提供服务。法国、 中国 和 中东地区 的顶尖大学和组织已经接受了Open edX。世界经济论坛、 国际货币基金组织、 Johnson & Johnson 和世界各地的很多其他企业已经建立Open edX 平台。创新型大学 乔治华盛顿 等使用这种科技推出了具有开创性的开放教育措施。Open edX是颠覆性的技术,由麻省理工学院和哈佛大学创建,斯坦福大学、 谷歌和 45 所国际大学提供支持。此外,它的用户不断受益于edX 社区新的改进和创新。

Open edX 2018年会已经在加拿大蒙特利尔举办,本次会议带来了不少技术亮点。我们将在这次Meetup进行一些年会技术报告的解读和交流。力图为大家展现当前的Open edX技术图景。

广州英荔教育科技有限公司赞助和参加了今年的Open edX 2018蒙特利尔会议,并计划深度参与国内的Open edX开源社区。英荔同时也运营国内第一个Open edX云服务,英荔的技术负责人将在Meetup上和大家分享在Open edX开发中的一些经验,并交流国内开源社区的协作思路。

国内社区的积极推动者种瓜等也将参加此次Meetup。

会议地点仍需最后确定。请加入社区QQ群106781163保持交流。

报名连接

Beijing Open edX Meetup 2018#1

Saturday, Aug 18, 2018, 2:00 PM

北京海淀区双清路学研大厦
海淀区双清路学研大厦 Beijing, CN

6 Members Attending

欢迎参加 Beijing Open edX 2018 第一次活动。本活动适合Open edX的开发者、使用者、研究者,以及对在线教育技术感兴趣的朋友们。 Welcome to the first event of Beijing Open edX 2018. This event is suitable for Open edX developers, users, researchers, and friends interested in online education technology. Open edX 是最赏心悦目的学习和教学平台。这个开放源码软件提供世界上最佳的视频体验和互动性。它驱动着 edX.org 教育门户中超过270万的用户。斯坦福大学在 class.stanfor…

Check out this Meetup →

http://www.huodongxing.com/event/3451142235200

Open edX版本升级中的数据迁移

Open edX每年发布两个大版本,版本之间的直接升级困难,几乎等于重装。因此如果要把原有的实例升级到新版本,可行的方式是:

1.在新的服务器上安装新版本Open edX

2.在新版本Open edX进行同等的配置和定制,如语言、配置文件、Xblocks、二次开发等

3.导出老版本Open edX数据,导入到新版本Open edX

4.运行数据升级脚本。如果有问题,手工调整数据结构

目前可以参考的文档有 https://groups.google.com/forum/#!searchin/edx-code/migrate%7Csort:date/edx-code/FZdfXAaawsk/m-Tywq3hGQAJ 以及 https://blog.just4fun.site/edx-data-migrate.html。这两份文档都比较老,我们将在Ginkgo.2-InsightsLite镜像上进行F版本的数据升级,来展示目前的升级方法。

我们这次迁移将遵循以下步骤:备份导出源数据库(mysql/mongo);在目标机器上,mysql清空edx相关的库(保留mysql原有的几个库); 导入数据库(mysql/mongo)到目标机器上;在目标机器上执行migrate。

mysql

简单导出 —> $ mysqldump -u root -p –all-databases > ./backup.sql
目标导出 —> $ mysqldump -u root -p –all-databases -e –max_allowed_packet=1048576 –net_buffer_length=16384 > backup.sql

简单导出是在目标机器未知的情况下,直接导出数据库内容。
优点:简单方便,适配于任何目标机器
缺点:在目标机器上导入数据会特别慢!

目标导出是在目标机器已知的情况下,根据目标机器上参数来导出数据
优点:在目标机器上导入数据会很快,甚至可以达到10多倍的差距
缺点:需要预先查看目标机器上mysql的配置参数

如何查看目标机器上mysql相关参数

登陆mysql —> $ mysql -u root -p
查看参数 —> $ show variables like ‘max_allowed_packet’;
—> $ show variables like ‘net_buffer_length’;
根据查看到的value中的值来写导出语句进行导出

mongodb

导出 —> $ mongodump -o ./mongo-backup
导入 —> $ mongorestore -drop ./mongo-backup
在mongodb 3.0以上使用: mongorestore —drop ./mongo-backup // 即使用两个-

执行migrate

执行migrate:
sudo su edxapp -s /bin/bash
cd ~
source edxapp_env
python /edx/app/edxapp/edx-platform/manage.py {lms/cms} syncdb –migrate –settings aws

注意最后一句中的lms/cms是步骤分开的!

静态资源处理

  1. 拷贝主题到 /edx/app/edxapp/themes/ 目录下
  2. 修改 /edx/app/edxapp/lms.env.json —> 设置 FEATURES.USE_CUSTOM_THEME 为 true,并且THEME_NAME修改为主题目录名字
  3. 重新编绎静态资源:
    sudo -H -u edxapp bash
    source /edx/app/edxapp/edxapp_env
    cd /edx/app/edxapp/edx-platform
    paver update_assets cms –settings=aws
    paver update_assets lms –settings=aws

 

Open edX Con2018摘要:Getting Started with Open edX Development

首先广告一下@种瓜 写的企业服务解读  https://blog.just4fun.site/edx-enterprise.html

本文将简单介绍这个演讲 https://openedx2018.sched.com/event/EUAV/getting-started-with-open-edx-development,这个演讲介绍了如何入门Open edX开发。两位演讲者是edX架构师Nimisha Asthagiri以及AppSembler的Nate Aune。这里是演讲的PDF文档 https://schd.ws/hosted_files/openedx2018/c7/Getting%20Started%20with%20Open%20edX%20Development.pdf 。

核心能力

全栈Web开发 (Python/Django/JS)

DevOps 经验 (Linux, Cloud hosting)

开源项目经验也有帮助

Open edX用到的技术

Django (web开发框架)

Python (脚本语言)

ReactJS/BackboneJS (前端语言)

MySQL (学生数据存储的数据库)

MongoDB (课程数据存储的数据库)

RabbitMQ (处理后端任务)

Ansible (配置管理)

Hadoop (分布式处理)

领域

架构图

这里提供了不同时期的架构图。其实架构并没有大的变化,表现的角度不同。

现场练习

启动/停止 LMS 和 CMS (Studio)

创建superuser

改变platform name

对theme做一个小修改

安装和启用第三方 XBlock

练习不覆盖的

Deploy an Open edX site to production Build a custom theme from scratch Create an XBlock from scratch Discuss every feature Open edX provides Localization and translations

扩展Open edX的成本

文档和社区

Official docs.edx.org

Building and Running Open edX

Installing, Configuring and Running Open edX Open

edX Developer Guide

edX’s Confluence Wiki

Open edX Youtube Channel

edX Architecture Onboarding

edx-code Mailing list

Slack community

Stackoverflow

edXchange

 

在PDF里有更多的具体操作文档。本文不再贴出。

Open edX 2018 Conference

Open edX 2018年会已经在加拿大蒙特利尔举办结束。本次会议带来了不少技术亮点。

我们会陆续进行一些技术分享的解读。社区里的其他朋友也会解读各自感兴趣的部分,然后汇总为一个报告,力图为大家展现当前的Open edX技术图景。

官方的会议文档列表  https://openedx.atlassian.net/wiki/spaces/COMM/pages/756384075/Open+edX+2018+Presentations

官方的会议日程  https://openedx2018.sched.com/

轻量级Open edX数据分析系统的设想

Open edX包含一个数据分析系统Insights。它包含三个组件:

  • Pipeline,用于将LMS的log文件归集到Hadoop进行计算,并把计算结果写入Mysql。
  • DataAPI,用于将Mysql中的分析结果输出给Insights使用。
  • Insights,用于展示分析结果。

目前是一个重量级的系统。针对的是edx.org这种千万级别的用户网站产生的数据。大量的log被输送到Hadoop进行离线计算用来展示。因此对于小规模的Open edX部署,数万人级别的用户,这样的计算太繁琐。

我们计划开发一个轻量级的数据分析系统。有两个主要方向:

  • 使用python计算来取代hadoop,实现一个基于pandas的pipeline。还在insights里面展现
  • 直接在Inistructor Dashboard里面加入分析展现。可以看整个课程,或者单个学生的学习分析

这两个系统会全部开源。有兴趣一起研究的朋友可以参与。

Open edX Ginkgo.2 OVA镜像文件下载

镜像基于官方文档制作。去掉了Insights和AnalyticsAPI。

https://openedx.atlassian.net/wiki/spaces/OpenOPS/pages/146440579/Native+Open+edX+Ubuntu+16.04+64+bit+Installation

 

  • 硬件配置 1CPU/4G RAM/500G HD
  • Ubuntu用户 edustack,密码 edustack.org
  • 没有生成随机密码,各种系统服务都使用默认密码。仅用于开发测试。

下载地址

http://202.196.166.180/downloads/%E5%AE%9E%E9%AA%8C%E8%BD%AF%E4%BB%B6/%E9%95%9C%E5%83%8F/edustack-ginkgo2.ova

百度网盘

https://pan.baidu.com/s/1qZ8QIsO 密码:fxaz

https://pan.baidu.com/s/1sngEEoX 密码:1s29

运维文档

https://openedx.atlassian.net/wiki/spaces/OpenOPS/pages/60227913/Managing+OpenEdX+Tips+and+Tricks

https://openedx.atlassian.net/wiki/spaces/OpenOPS/pages/19662636/How-to+articles

https://openedx.atlassian.net/wiki/spaces/OpenOPS/pages/88375372/Common+Issues+and+How+to+Fix+Them

开发文档

https://openedx.atlassian.net/wiki/spaces/OpenDev/overview