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