This project is just a requirement for our final project in our major subject It uses QtQuick as its software application framework
To use this application you must do the following:
- Open initialize_database.py
- Under class
init_db
and functioncreate_schema
, match the host, user and password with the corresponding configurations in your server - Open the database.py file from classes folder
- Under class
database
and functionconnect
, match the host, user and password with the corresponding configurations in your server - Run the python file
initialize_database.py
to create the schema and the tables - Run the python file
main.py
to start the program
To create a student account you must do the following:
- Click the create account button on the login page
- Fill up the fields
- Click the create button
- Login using the account that have just created
To create an instructor account, you must do the following:
- Press the keys ALT+. on the login page
- Fill up the fields
- Click the create button
- Login using the account that have just created
To make an admin account, you must do the following:
- Either use an already existing instructor account or create a new instructor account with the instructions above
- Run the python file
admin_handling.py
- Double click the name of the instructor on the left side you wish to make it an admin
- Close the program and run the python file
main.py
- Login using the account that have just turned into an admin
To demote an admin account back to an instructor account, you must do the following:
- Run the python file
admin_handling.py
- Double click the name of the admin on the right side you wish to demote into an instructor
- Close the program and run the python file
main.py
- Login using the account that have just demoted into an instructor