- 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.js
to makeconfig.js
- Ensure TD Database is live.
- Place the required files in the
uploads
folder. Which files are required ? See sample inuploads-template
folder. - 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.js
and exectue the filescripts/processData.js
by usingnode uploads/processData
- To update the Database uncomment the last line of
scripts/updateData.js
and exectue the filescripts/updateData.js
by 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.js
to makeconfig.js
- Start the server using
npm start
- Open
http://localhost/port
in your browser. - Login and upload the files and wait as they are processed.
Script prepared by Divyanshu Agrawal for Timetable Division.