Database Organization Project (CS425) for Spring 2025
- Kimberley Catherine Goveas
- Manish Kamalakar Reddy
- Elijah Perez
- Python 3.6+
- pip
- PostgreSQL
- Clone the repository:
git clone https://github.com/kredd10/CS425.git- Create and activate a virtual environment:
# Create the environment
python -m venv .venv
# Activate on Windows
venv\Scripts\activate
# Activate on macOS/Linux
source .venv/bin/activate- Install required dependencies:
python3 -m pip install -r requirements.txtYou must run the following SQL files to setup the database.
- The
DDLcreate.sqlcontains all theCREATE TABLEcommands. - The remaining data files must be loaded in the following order:
DATAentry-user.sqlDATAentry-agent.sqlDATAentry-all.sql
You can configure the database URL and secret key under config.py.
The database URI must follow the format: postgresql://<username>:<password>@<host>/<database>
To run the Flask application:
python app.py