Coder Social home page Coder Social logo

sd2122's Introduction

Turmas

Distributed Systems Project 2021/2022

Authors

Group G25

Code Identification

In all source files (namely in the groupIds of the POMs), replace GXX with your group identifier. The group identifier consists of a G and the group number - always two digits. This change is important for code dependency management, to ensure your code runs using the correct components and not someone else's.

Team Members

Number Name User Email
95565 Duarte Almeida https://github.com/Duarte-Almeida mailto:[email protected]
95587 Gustavo Aguiar https://github.com/ImGugz mailto:[email protected]
95680 Tomás Tavares https://github.com/Th0mz mailto:[email protected]

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 or 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 (in the project root directory):

mvn clean install

Built With

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

Usage

To run all modules, run in each directory:

(-debug is an optional debug flag, it is not a required argument)

Modules

  • ~/A25-Turmas/NamingServer:
mvn exec:java -Dexec.args="<hostname> 5000 [-debug]"
  • ~/A25-Turmas/ClassServer:
primary server :
----------------
mvn exec:java -Dexec.args="<hostname> <port> P [-debug]"

secondary server :
------------------
mvn exec:java -Dexec.args="<hostname> <port> S [-debug]"
  • ~/A25-Turmas/Admin:
mvn exec:java -Dexec.args="[-debug]"
  • ~/A25-Turmas/Professor:
mvn exec:java -Dexec.args="[-debug]"
  • ~/A25-Turmas/Student:
mvn exec:java -Dexec.args="<Student ID> <Student name> [-debug]"

sd2122's People

Contributors

th0mz avatar duarte-almeida avatar gustavo-aguiar01 avatar matzoc avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.