Skip to content

A full stack web-application that provides statistics based analysis on courses and professors at UIUC. The webpage is designed to aid students in class selection.

License

Notifications You must be signed in to change notification settings

omarn33/Most-Valuable-Professor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Most Valuable Professor

Live Demo

A statistics based web-application that provides UIUC Professor's course data to students. Data includes percentage of A's earned, most common letter grade, student enrollment and general grade distribution.

Tutorial

<iframe width="560" height="315" src="https://www.youtube.com/embed/sY1lLGe7ECA" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

A comprehensive writeup is avaliable here.

Requirements

python >= 3.5

Getting started

git clone https://github.com/a2975667/flask-gcp-mysql-demo.git
cd flask-gcp-mysql-demo
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
export FLASK_APP = app
flask run

Setting up GCP

Create a app.yaml file in the root folder with the following content:

runtime: python38 # or another supported version

instance_class: F1

env_variables:
  MYSQL_USER: <user_name> # please put in your credentials
  MYSQL_PASSWORD: <user_pw> # please put in your credentials
  MYSQL_DB: <database_name> # please put in your credentials
  MYSQL_HOST: <database_ip> # please put in your credentials

handlers:
# Matches requests to /images/... to files in static/images/...
- url: /img
  static_dir: static/img

- url: /script
  static_dir: static/script

- url: /styles
  static_dir: static/styles

Setting up the deployment

curl https://sdk.cloud.google.com | bash
gcloud components install app-engine-python
gcloud config set project cs411-sp21
gcloud auth login
gcloud app deploy

About

A full stack web-application that provides statistics based analysis on courses and professors at UIUC. The webpage is designed to aid students in class selection.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published