asquare14 / what-slot

Manage your time table for minor, additional and breadth courses

Home Page:https://whatslot.metakgp.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

what-slot

forthebadge made-with-python
Gitter MIT license
KWoC 2018

Organize your time table for additional courses and minor.

Usage

Currently hosted at https://whatslot.metakgp.org/

NOTE: The master branch is automatically deployed as an heroku app on the above link.

Updating for new semester

  1. Set the environment variable JSESSIONID to the cookie of same name by export JSESSIONID=<session ID>. The JSESSIONID cookie is generated when you visit the academic section in ERP while you are logged in. This can be grabbed from the network requests in your chrome debugger, just open network tab in it and click on academic, then see the request for cookies and copy JSESSIONID.
  2. Update for_session and for_semester (line no. 10 and 11) in fetch.py.
  3. Run JSESSIONID=[JSESSIONID TAKEN FROM CHROME] python3 fetch.py, and if all went well you should see a list of subjects being fetched for each department (please install dependencies before this step from requirements.txt or Pipenv). Note that no square brackets should be there in the actual command around JSESSION grabbed from chrome.
  4. After script has finished executing, the app is ready to be deployed once again for the new semester.

Runnning locally

  1. git clone https://github.com/arnav-t/what-slot.git
  2. cd what-slot
  3. pipenv shell --three
  4. pipenv install (Only the first time)
  5. python3 app.py

Communication

Gitter

About

Manage your time table for minor, additional and breadth courses

https://whatslot.metakgp.org/

License:MIT License


Languages

Language:CSS 38.6%Language:HTML 25.5%Language:JavaScript 22.9%Language:Python 13.0%