Skip to content

martimfasantos/Turmas

Repository files navigation

Turmas

Turmas is a project for the Distributed Systems bachelor's course during the academic year 2021/2022 @ IST.

Authors Github
Martim Santos https://github.com/martimfasantos
Inês Magessi https://github.com/inesmcm26
João Silveira https://github.com/jsilll

Project Grade: 19.03 / 20


Getting Started

The overall system is made up of several modules. The main server is the ClassServer. The clients are the Student, the Professor and the Admin. The definition of messages and services is in the Contract. The future naming server is the NamingServer.

See the Project Statement for a complete domain and system description.


Prerequisites

The Project is configured with Java 17 (which is only compatible with Maven >= 3.8), but if you want to use Java 11 you can too, just downgrade the version in the POMs.

To confirm that you have them installed and which versions they are, run in the terminal:

javac -version
mvn -version

Installation

To compile and install all modules:

mvn clean install

To run Naming Server

cd NamingServer
mvn exec:java

or

mvn exec:java -Debug

or

mvn exec:java -Dexec.args="-debug"

To run Class Server:

mvn exec:java -Dexec.args="[localhost|IP] [PORT] [P|S] (-debug)"

To run Admin:


cd Admin
mvn exec:java

To run Professor:


cd Professor
mvn exec:java

To run Student:


cd Student
mvn exec:java -Dexec.args="aluno'XXXX' [student name]"

Built With

  • Maven - Build and dependency management tool;
  • gRPC - RPC framework.

About

Distributed Systems 2021/22 bachelor's course

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published