Skip to content
This repository was archived by the owner on Oct 2, 2020. It is now read-only.

park-junha/GradPlanner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GradPlanner

NOTE: This repository contains legacy source code.

A web application that generates a four-year plan for Santa Clara University students based on their needs. It is now open for beta testing - you can visit it here!

Originally named PlanForGrad / CoursePlanner. Cloned from repository (for CSCI 187 project): https://github.com/xiaogong1/Course-Planner

Refer to the wiki for setup information: https://github.com/park-junha/PlanForGrad/wiki

First-Time Setup

  1. Install python3 and pip3. You can use brew (Homebrew) to install on macOS or apt-get on Ubuntu / Debian to install these. (e.g. brew install python3 on macOS, sudo apt-get install python3 on Debian)
  2. Install the Python3 virtual environment. On macOS, run pip3 install virtualenv, and on Ubuntu / Debian, run sudo apt-get install python3-venv.
  3. Create a Python3 virtual environment with python3 -m venv ~/.virtualenv/GradPlanner
  4. Activate it with source ~/.virtualenv/GradPlanner/bin/activate
  5. Navigate to your local repository (cd path/to/directory)
  6. Run pip3 install -r requirements.txt to install all Python dependencies on the environment.
  7. You need a file called gradplanner_rds.py to pass credentials to the database to the web application. Please obtain this from the project admin ([email protected]). IMPORTANT: DO NOT PUSH THIS FILE TO GITHUB!

Running

  1. Start your virtual environment with source ~/.virtualenv/GradPlanner/bin/activate
  2. Run python3 main.py, with the database password as your first command line argument.
  3. Navigate to localhost:5000 on your browser to access the frontend.

Common Errors

  • Make sure all dependencies are installed. You can do this with pip3 install -r requirements.txt.
  • Try using a virtual environment. You can follow steps on how to do that above or here. You will also need to source the virtual environment before running the Python app every time.

Contact [email protected] if you are having difficulties running the app.

About

An automated four-year undergraduate degree scheduler.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •