k-kahora / cab-10-project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CAB Project 10

Alex Quezada and Malcolm Kahora

Document Wiki

Docs:

Purpose

To help the user make informed decisions when purchasing an Electric Vehicle. This application can also help identify locations in New Jersey that may require more EV charging infrastructure to meet the needs of demand and traffic data.

One-Time Installation

You must perform this one-time installation in the CSC 315 VM:

# install python pip and psycopg2 packages
sudo pacman -Syu
sudo pacman -S python-pip python-psycopg2

# install flask
pip install flask

Usage

To populate the database, run the following script with sudo privileges:

sudo ./startup.sh

To run the Flask application, simply execute:

export FLASK_APP=app.py
flask run
# then browse to http://127.0.0.1:5000/

Screenshots

Home Page
County Traffic Page
Compare Median Income Page Chargers in County All Chargers EV:Household Ratio

About

License:MIT License


Languages

Language:Python 58.3%Language:HTML 35.6%Language:Shell 4.6%Language:CSS 1.6%