http://143.89.76.37:8000/ https://youtu.be/KdxVHWSMNi4
https://github.com/shingyipcheung/study-path-frontend
you should have python3.6+ installed
pip install -r requirements.txt
you should have the graded sql under the folder edxDB/data
HKUSTx-COMP102x-2T2014-courseware_studentmodule-prod-analytics.sql
python edxDB/migrations/preprocess_data.py
some .pkl files will be generated, these are the serialized result for responding the requests
- edxDB/constants.py: constants include problem weights, edges, ...
- edxDB/preprocess_data.py: preprocess the raw data
- edxDB/urls.py: the url parser
- edxDB/views.py: render functions
python manage.py runserver
python manage.py runserver 0.0.0.0:8000
index.html
http://127.0.0.1:8000/study_plan/concept_score/342/
http://127.0.0.1:8000/study_plan/concept_score/all/
http://127.0.0.1:8000/study_plan/graph/
Other Restful APIs and corresponding response functions are in edxDB/urls.py and edxDB/views.py respectively
Put the compiled dist by Vue.js inside current directory
dist
static
css
js
index.html
edxDB
edxback
.gitignore
django-admin.py
manage.py
requirements.txt