(Image credits: here)
XTT - Xebia Technical Test
To build the app and run the unit tests:
mvnw clean install
To execute the app run the following command after replacing <PATH_TO_INPUT_FILE>
(./docs/input.txt for example):
java -jar target\xtt-by-hz.jar <PATH_TO_INPUT_FILE>
Me too!
docker build -t hzitoun/xtt .
After replacing <ABSOLUTE_PATH_TO_FOLDER_CONTAINING_INPUT.TXT>
, run the following command:
docker run -v <ABSOLUTE_PATH_TO_FOLDER_CONTAINING_INPUT.TXT>:/xtt/data hzitoun/xtt