weblearn
1.0.0
该项目旨在演示从 Django 进行 REST API 调用
配置:
请参阅 https://docs.python.org/3.7/using/index.html
请参阅https://docs.djangoproject.com/en/3.0/topics/install/
将config_template.py
复制到config.py
并填写您的信息:
adict = {
"learn_rest_fqdn" : "your.learnserver.net",
"learn_rest_key" : "Your REST API KEY GOES HERE NOT Mine",
"learn_rest_secret" : "Your REST API SECRET GOES HEREer",
}
mylearn.blackboard.edu
~/ngrok tls -region=us -hostname=www.avinyet.com -key ~/avinet.rsaprivatekey.pem -crt ~/avinet.fullchaincert.pem 8000
pip install -r requirements.txt
。接下来运行python manage.py migrate
以应用迁移。最后,使用python manage.py runserver
启动服务器