- Ensure Node.js is installed
- Change directory to root of this project.
- Run
npm install - Ensure that database passwords and usernames are correct in config.js , use
config-template.jsto makeconfig.js - Ensure TD Database is live.
- Place the required files in the
uploadsfolder. Which files are required ? See sample inuploads-templatefolder. - There are 2 options either to update the existing Database or to reset the Database
- To reset the Database uncomment the last line of
scripts/processData.jsand exectue the filescripts/processData.jsby usingnode uploads/processData - To update the Database uncomment the last line of
scripts/updateData.jsand exectue the filescripts/updateData.jsby usingnode uploads/updateData
- Ensure Node.js is installed
- Change directory to root of this project.
- Run
npm install - Ensure that database passwords and usernames are correct in config.js , use
config-template.jsto makeconfig.js - Start the server using
npm start - Open
http://localhost/portin your browser. - Login and upload the files and wait as they are processed.
Script prepared by Divyanshu Agrawal for Timetable Division.