An open API service indexing awesome lists of open source software.

https://github.com/jonaro00/iv1351_musicschool

Database and Python integration
https://github.com/jonaro00/iv1351_musicschool

postgresql python sql

Last synced: 2 months ago
JSON representation

Database and Python integration

Awesome Lists containing this project

README

        

# Soundgood Music School Database

Project for IV1351

## Task 2

- `soundgood_setup.sql` drops (if exists) and creates the tables.
- `soundgood_test_data.sql` inserts data to test with.

## Task 3

- `task3.sql` drops (if exists), creates and runs the four views.

## How to run Task 4

- Have the database set up with the `.sql` scripts.
- Modify the DB path or credentials in `rental/integration.py` if needed.

- Install Python 3.10+.
- Use `pip install -r requirements.txt` to install dependencies.
- Run the program with `python main.py`. (varies with your OS/environment)