gabriellucius / nptel-iitkgp

Basic files and instruction for NPTEL HDD setup.

Home Page:http://nptel.ac.in/Harddisk/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NPTEL-iitkgp

This repository contains basic files and instruction for NPTEL HDD setup.

Directory Structure

/MEDIA/DISK-1  
 ┬  
 ├ setup.sh  
 ├ .htaccess  
 ├ index.php  
 ├ DisplayVideo.php  
 ├ [DIR] videos  
 ├ [DIR] json_db  
     ┬  
     ├ dbDisciplineList.json * [discipline_id, discipline_name]  
     ├ dbSubjectList1.json [subject_id, discipline_id, type, org, subject_name, [coordinator_1,coordinator_2,...]]  
     └ dbLectureList1.json [subject_id, lecture_id, title]  
  
/MEDIA/DISK-N **  
 ┬  
 ├ [DIR] videos  
 ├ [DIR] json_db  
     ┬   
     ├ dbSubjectListN.json [subject_id, discipline_id, type, org, subject_name, [coordinator_1,coordinator_2,...]]  
     └ dbLectureListN.json [subject_id, lecture_id, title]  

* Here only the first (ie. DISK-1) will contain the list of all disciplines (ie. dbDisciplineList.json)
** Here N is the serial no. of the disk.

Instruction

  • Connect and open all disks
  • Open terminal and run setup.sh on DISK-1
  • Enter the number of drives connected.

Suggestion for NPTEL

Since the project is based on searching through json and not on traditional database a lot of overhead is incurred everytime someone processes the dbLectureList*.json ie. at the time of watching the video. It would be nice to have an extra file in every course folder named "info.json" which would contain all the necessary information about the course (eg. list of lectures, prerequisites etc.)

About

Basic files and instruction for NPTEL HDD setup.

http://nptel.ac.in/Harddisk/


Languages

Language:PHP 84.0%Language:Shell 11.7%Language:ApacheConf 4.3%