1.修改vagrantfile文件后须要重启虚拟机python
(1)修改config.vm.network :public_network, ip: "192.168.1.21"(局域网共享)
config.vm.network :private_network, ip: "192.168.33.10"(虚拟机ip)json
2. 问题:主观题总分得不到app
problem_weight = vertical.weight
缘由:未安装xblock插件
ui
解决方法:.net
(1)在cms.env.json中添加插件
"ALLOW_ALL_ADVANCED_COMPONENTS": True
(2)安装xblock(插件)vagrant
edxapp@precise64:~/edx-platform/components/xblock-subjective$ source /edx/app/edxapp/venvs/edxapp /bin/activate
(edxapp)edxapp@precise64:~/edx-platform/components/xblock-subjective$ ls
build dist requirements.txt setup.py static subjective.py xblock_subjective.egg-info
(edxapp)edxapp@precise64:~/edx-platform/components/xblock-subjective$ python setup.py install
code