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
啟動伺服器