Skip to content

Harvard Gems website shows all the best low workload classes you can take.

License

Notifications You must be signed in to change notification settings

jeqcho/harvard-gems

Repository files navigation

HUGEMS: Harvard University Gems

This is the repository for the website (also known as hugems.net). You can check out the code for web scraping and analytics at this other repo.

Screenshot of the Harvard Gem website

If you found it useful, you can

"Buy Me A Coffee"

Steps to update

We use Angular CLI, so make sure to download it beforehand.

  1. Create a new component by running in terminal ng generate component Fall2024. Check if it is now imported at app.module.ts.
  2. Edit src/app-routing.module.ts.
  3. Edit src/app/archive/archive.component.ts. Remember to upload the verbose_course_ratings.csv to Drive.
  4. Copy over the output_data folder from the scraping repo to the folder of the component and rename it to just data.
  5. Copy over the departments folder from the scraping repo into a new folder under assets/data/ named after the next term.
  6. Copy over the ???.component.ts from another recent component and make necessary changes. You need to handpick the featured ~5 Super Gems, Hidden Gems, and Great Courses from course_ratings_analysis.ipynb in the scraping repo (look for the cells that present to you a candidate list of each). Also edit the my.harvard search term.
  7. Copy over the ???.component.html from another recent component and make necessary changes. Remember to change the number of classes near the top, and the link at the bottom. Simply count the number of files in the myharvard folder in the scraping repo, or count the number of files in the QGuides, which can be more accurate (for the past year, and this is the number reported at the website).
  8. Run ng serve to test it out.
  9. ng deploy

Contributions

Contributions are welcome! Please open a pull request.

Contributor list

  • @jnberkman

About

Harvard Gems website shows all the best low workload classes you can take.

Resources

License

Stars

Watchers

Forks

Languages