To run this program from a terminal:
- Navigate to the root directory of the project (located in the folder location-region)
- Run the following command to build a jar file and clean any old remnants: 'sbt clean assembly' This generates a fat jar file per the instructions provided in build.sbt on its generation.
- Run the following command: 'java -jar location-region-1.0.jar --regions=regions.json --locations=locations.json --output=results.json'
- Parameters --regions and --locations can be given any other JSON file present in the root directory of the project
To compile and run the program:
- Navigate to the root directory of the project (located in the folder location-region)
- Run 'sbt compile'
- Run 'sbt run'