Exercise for the distributed programming course in university of macedonia
mariadb(1.1.4) Pyro5(5.14)
Given that you have access to a mariadb instance, modify the sqlConfig.json to configure the database connection.
If you are running it for the first time and need to set the database up just run
python3 main.py setupDb. This will automatically connect to mariadb and create and setup a database (name specified in sqlConfig.json) with some test data.
After that make sure that you have a pyro5 nameserver running. For ease of use just run python3 startNameServer.py to start it. It should bind it to the correct ip address and make it accessible to lan.
Finally run python3 main.py to start the server.