You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This program is used to make calls to the Hackerrank football API. The demo will prompt the user to enter a year and write the total number of draws that year to an output file. The output file is defined as an environment variable. The program will also show the user how the total number was tallied using standard output.
*How to Demo this project:*
The easy way (You must have docker installed)
Build and package Docker container. You may need help from sudo.
docker build -t football-demo .
Set the output file and run app in Docker container.
Note: output.txt is only found within the docker container. The results also appear in StdOut
docker run -e "OUTPUT_FILE=output.txt" --rm -it football-demo:latest
*The easier way (You must have Java installed)*
Set the output file and run the executable jar with built-in dependencies