Name: Shariat Jahan Shanu
ID: 101285602
This project was developed as part of the requirements for COMP3005 FInal project V2
- Launch pgAdmin 4.
- Create a new database. I am using
healthfitnessclub
. - Open the query tool for the database you just created and run the
DDL.sql
and thenDML.sql
file inSQL
. - This will create the required tables and populate it with initial data.
Install psycopg 3:
pip3 install --upgrade pip # to upgrade pip
pip3 install "psycopg[binary,pool]" # to install package and dependencies
- The ER model Diagram and database schema and mapping are in
Conceptual_Design.pdf
member_functions.py
handles member operationstrainer_functions.py
handles trainer operationsadmin_functions.py
handles administrative staff operationsmain.py
is the main function to operaton this project
-
Update the database connection settings at the top of
main.py
to match your PostgreSQL database connection details. -
Execute the following command in the terminal:
python3 ./main.py
Enjoy managing your Health fitness club!