README.md- readme.setup_database.txt- txt file with the provided queries to setup and insert new students in the database.app.py- Python file with all the functions
You need to first have a PostgreSQL database set up called A3Q1Database, and copy and paste the query in the setup_database.txt into the query tool to create the table and insert the students.
- Clone the repository and make sure you are in that directory:
https://github.com/Maiku3/a3q1.git
- Install psycopg2
$ pip install psycopg2
-
Edit app.py and put your PostgreSQL password in.
-
Run the app to execute the functions
$ python app.py