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
- Install
python3andpip3. You can usebrew(Homebrew) to install on macOS orapt-geton Ubuntu / Debian to install these. (e.g.brew install python3on macOS,sudo apt-get install python3on Debian) - Install the Python3 virtual environment. On macOS, run
pip3 install virtualenv, and on Ubuntu / Debian, runsudo apt-get install python3-venv. - Create a Python3 virtual environment with
python3 -m venv ~/.virtualenv/GradPlanner - Activate it with
source ~/.virtualenv/GradPlanner/bin/activate - Navigate to your local repository (
cd path/to/directory) - Run
pip3 install -r requirements.txtto install all Python dependencies on the environment. - You need a file called
gradplanner_rds.pyto pass credentials to the database to the web application. Please obtain this from the project admin (jpark3@scu.edu). IMPORTANT: DO NOT PUSH THIS FILE TO GITHUB!
- Start your virtual environment with
source ~/.virtualenv/GradPlanner/bin/activate - Run
python3 main.py, with the database password as your first command line argument. - Navigate to
localhost:5000on your browser to access the frontend.
- 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
sourcethe virtual environment before running the Python app every time.
Contact jpark3@scu.edu if you are having difficulties running the app.