Repository navigation
Database Integration
Pre-release
Pre-release
Two notes for navigating the website:
- There is no way to add courses through the website to test the directory/ratings
- The forum section will not work unless a user with ID 1 is created (it does not have session integrating yet)
Both of these issues can be fixed at once in one of two ways:
- By running the SQL in data.sql in DataGrip (assuming you have already created the tables using schema.sql). This will populate the database with some dummy data'
- By running pytest in the console. There is only one test currently, and it runs a function in utils.py which wipes the database and then populates it with dummy data