Skip to content
This repository has been archived by the owner on Nov 21, 2019. It is now read-only.
/ census Public archive

Distributed Objects Programming course project

Notifications You must be signed in to change notification settings

juanmbellini/census

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Census Build Status

Distributed Objects Programming course Project

Getting started

These instructions will install the development environment into your local machine

Prerequisites

  1. Install maven

    MacOS

    $ brew install maven
    

    Ubuntu

    $ sudo apt-get install maven
    

    Other OSes

    Check https://maven.apache.org/install.html.

  2. Clone the repository, or download source code

    $ git clone https://github.com/juanmbellini/census
    

    or

    $ wget https://github.com/juanmbellini/census/archive/master.zip
    

Build

  1. Change working directory to project root

    $ cd census
    
  2. Install project modules

    $ mvn clean install
    
  3. Build jars

    $ mvn clean package
    

    Note: Jar files will be located in the <project-root>/<module>/target directory, where <module> can be any of api, server or client.

Running

  1. Build jars

    $ mvn clean package
    
  2. Launch servers

    $ ./srv.sh
    
  3. Run client

    $ ./clt.sh
    -Daddresses=<address list>
    -Dquery=<query id>
    -DinPath=<absolute path to file>
    -DoutPath=<absolute path to file>
    -DtimeOutPath=<absolute path to file>
    -Dn=<n arg>
    -Dprov=<prov arg>
    

Authors