Skip to content
This repository has been archived by the owner on Jun 4, 2019. It is now read-only.

Latest commit

 

History

History
17 lines (14 loc) · 914 Bytes

README.md

File metadata and controls

17 lines (14 loc) · 914 Bytes

eesast_newsite

The static page for eesast

lecture

  • The page to show lecture files
  • Front-end: Vue
  • Back-end: A django project to provide indexes
    • Index of LECTURE_DIR at backend/lecture/dir/
    • Index of LECTURE_DIR/subdir at backend/lecture/subdir/<str:subdir>
    • LECTURE_DIR can be modified at ./lecture/views.py , where ./ refers to the directory manage.py locates in.
  • Test at local enviroment:
    • Run python manage.py runserver 127.0.0.1:8888 at ./ (the directory where this README file locates)
    • Get data from 127.0.0.1:8888/backend/lecture/dir/ or 127.0.0.1:8888/backend/lecture/subdir/name-of-subdir
      • You can try this by GET from 127.0.0.1:8888/backend/lecture/dir/ in your Postman and you will know how this works
    • Usually, the name-of-subdir will be responsed in response of backend/lecture/dir/