# UrlsWorker This is the Worker's Application.
It requests assignments from the [controller](https://code-repo.d4science.org/lsmyrnaios/UrlsController) and processes them.
It posts the results to the controller, which in turn, puts them in a database.

To install and run the application: - Run ```git clone``` and then ```cd UrlsWorker```. - Create the file ```controllerBaseUrl.txt``` which contains just one line with the controller's base api-url, for example: ```http://IP:PORT/api/```. - Execute the ```installAndRun.sh``` script.
That script, installs the [PublicationsRetriever](https://github.com/LSmyrnaios/PublicationsRetriever), as a library and then compiles and runs the whole Application.
If you want to just run the app, then run the script with the argument "1": ```./installAndRun.sh 1```.