使用PyCharm开发EDX,配置Run/Debug Configurations
程序员文章站
2022-02-11 06:30:06
...
###Project Interpreter
File > settings > Project:trunk > Project Interpreter > Add Remote
###Edit Configurations
打开PyCharm 依次选择 Run > Edit Configurations...
点击加号"+" > 选择"Django server"
![Django server](https://static.oschina.net/uploads/img/201701/17183054_Me6n.png "" style="max-width:100%")
①:名称
②:单实例
③:runserver 0.0.0.0:8000 --settings=devstack
④:lms
⑤:DJANGO_SETTINGS_MODULE=lms.envs.dev
⑥:选择刚添加的interpreter
⑦:/home/tianshl/workspace/QST_MOOC/trunk/edx-platform=/edx/app/edxapp/edx-platform
###Add Cms
cms 的配置同lms,只需将 1 && 4改为cms, 3中的8000端口修改一下即可(如8001)
转载于:https://my.oschina.net/tianshl/blog/826716