Skip to content

Commit 13ddd30

Browse files
authored
Revival + Update (AUT 25) (#89)
* the great revival * update lockfile * update gitignore * add type: module * remove session file
1 parent f0aefa6 commit 13ddd30

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+8731
-16049
lines changed

.github/workflows/build-ci-test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,5 @@ jobs:
5050
uses: actions/upload-artifact@v4
5151
with:
5252
name: build
53-
path: ./frontend/build
53+
path: ./frontend/dist
5454

.github/workflows/deploy-gh-pages.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,4 @@ jobs:
4848
- name: Deploy 🚀
4949
uses: JamesIves/github-pages-deploy-action@v4
5050
with:
51-
folder: ./frontend/build
51+
folder: ./frontend/dist

.gitignore

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ t
66
*.xlsx
77
frontend/node_modules/
88
frontend/coverage/
9-
frontend/build/
9+
frontend/dist/
1010
__pycache__/
11-
other-years-scraper/main
12-
other-years-scraper/vendor/
11+
scraper/main
12+
scraper/vendor/
13+
.session

README.md

Lines changed: 3 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,6 @@
3434

3535
- [Local Installation](#local-installation)
3636
- [Updation for a new semester](#updation-for-a-new-semester)
37-
- [For First Year Timetable](#for-first-year-timetable)
38-
- [For Second Year and above Timetable](#for-second-year-and-above-timetable)
39-
- [Updating `.env` file](#updating-env-file)
40-
- [Final steps](#final-steps)
4137
- [Meanings of the various files](#meanings-of-the-various-files)
4238
- [Input Files](#input-files)
4339
- [Output Files](#output-files)
@@ -63,7 +59,7 @@ To run Chillzone front-end on your local system.
6359
3. Install modules and launch frontend.
6460
```
6561
pnpm install
66-
pnpm start
62+
pnpm run dev
6763
```
6864

6965
<p align="right">(<a href="#top">Back to top</a>)</p>
@@ -83,22 +79,7 @@ curl 'https://erp.iitkgp.ernet.in/Acad/timetable_track.jsp?action=second&dept=AE
8379

8480
## Updation for a new semester
8581

86-
### For First Year Timetable
87-
88-
> **Note**: First year timetable needs to be updated at the start of a new session only.
89-
90-
1. Download first year timetable from ERP and place it in the `first-year-scraper/` directory.
91-
2. Install dependencies.
92-
93-
```
94-
cd first-year-scraper
95-
96-
pip install -r requirements.txt
97-
```
98-
99-
### For Second Year and above Timetable
100-
101-
#### Updating `.env` file
82+
1. Updating `.env` file
10283

10384
> **Note**: Use `.env.template` file as the base for `.env` file.
10485
@@ -109,9 +90,7 @@ Update the `SESSION` and `SEMESTER` environment variables.
10990
> 1. Turn on `DEBUG` inside the `.env` file by setting it to `"1"`.
11091
> 2. Reduce the size of the departments array to 2 so that you are not buried with output in the terminal.
11192
112-
### Final steps
113-
114-
1. Run `update_data.sh`.
93+
2. Run `update_data.sh`.
11594

11695
<p align="right">(<a href="#top">Back to top</a>)</p>
11796

@@ -127,13 +106,6 @@ Update the `SESSION` and `SEMESTER` environment variables.
127106
a few nodes can be added to the JSON file without touching other files and
128107
the schedule can be regenerated.
129108

130-
- `first-year.csv`
131-
132-
The first year timetable is not available by default on ERP, so we need to
133-
add it manually using the central timetable PDF. This CSV file will be taken
134-
into consideration when the schedule is constructed. Refer to the template
135-
for details.
136-
137109
### Output Files
138110

139111
- `schedule.json`

first-year-scraper/excel_parser.py

Lines changed: 0 additions & 10 deletions
This file was deleted.

first-year-scraper/generate_schedule.py

Lines changed: 0 additions & 66 deletions
This file was deleted.

first-year-scraper/generate_subjectDetails.py

Lines changed: 0 additions & 46 deletions
This file was deleted.

first-year-scraper/main.py

Lines changed: 0 additions & 10 deletions
This file was deleted.

first-year-scraper/requirements.txt

Lines changed: 0 additions & 5 deletions
This file was deleted.

first-year-scraper/spring24.pdf

-2.26 MB
Binary file not shown.

0 commit comments

Comments
 (0)