Open edX安装Xblock
来源:互联网 发布:专业装修淘宝多少钱 编辑:程序博客网 时间:2024/05/16 08:51
原文出处:http://wiki.edustack.org/ http://wiki.edustack.org/ http://wiki.edustack.org/
Like all platform settings, you can either write inside/edx/app/edx_ansible/server-vars.yml
and update the platform to generate the custom settings files.
EDXAPP_FEATURES: ALLOW_ALL_ADVANCED_COMPONENTS: true
Or you can manually edit the custom settings, in /edx/app/edxapp/cms.env.json
.
This will override the default value hardcoded in /edx/app/edxapp/edx-platform/cms/envs/common.py
.
Once the file is updated, you need to reboot to reload the settings.
sudo /edx/bin/supervisorctl -c /edx/etc/supervisord.conf restart edxapp:
Install an XBlock
To install a XBlock, you must download it, and then run the install script.
# Move to the folder where you want to download the XBlockcd /edx/app/edxapp# Download the XBlocksudo -u edxapp git clone https://github.com/xxx/yourXBlock.git# If not installed: Install the XBlocksudo -u edxapp /edx/bin/pip.edxapp install yourXBlock/# Remove the installation filessudo rm -r yourXBlock
Reboot if something isn't right
In some cases, rebooting is necessary to use the XBlock.
sudo /edx/bin/supervisorctl -c /edx/etc/supervisord.conf restart edxapp:Activate the XBlock in your course
Go to Settings -> Advanced Settings
and set advanced_modules
to ["xblockname"]
.
Use the XBlock in a unit
Select Advanced -> XBlock Name
in your unit.
- Open edX安装Xblock
- edx 题库编辑xblock的安装
- Open edX 56 网 XBlock 视频插件开发(基础)
- Open edX安装Devstack
- Windows 8安装Open edX
- open edX在Ubuntu 12.04中的安装
- Open edx Fullstack安装及安装错误整理
- Open edX dogwood.3 基于Ubuntu14.04的手动安装
- open edx: ubuntu 16.04原生native 安装部署
- edx安装
- 搭建Open edX经验总结
- Open edX 简单查错
- open edx 邮件激活
- Open edX架构
- open edx 常用维护命令
- Open edX修改自定义主题
- Open edX数据结构Mysql edxapp
- open edx更改时区设置
- 8天学通MongoDB——第七天 运维技术
- windows下安装VMware-workstation10 linux
- linux 安装 atom
- 一个经典实用的iptables shell脚本
- libcurl模拟登录
- Open edX安装Xblock
- 分享给大家一个生成图形验证码的View
- GC调优在Spark应用中的实践
- android的org.json.JSONObject的getXXX方法
- 原子操作Interlocked
- 8天学通MongoDB——第八天 驱动实践
- 解决国内pip安装速度慢的问题
- 【转载】Android样式的开发:View Animation篇
- iOS开发技巧--项目中定义宏的相关方法