{"id":21396101,"url":"https://github.com/feup-infolab/army-ant-install","last_synced_at":"2026-03-19T20:12:58.853Z","repository":{"id":72477882,"uuid":"119966277","full_name":"feup-infolab/army-ant-install","owner":"feup-infolab","description":"Army ANT installation via Docker Compose.","archived":false,"fork":false,"pushed_at":"2020-05-04T16:32:31.000Z","size":134404,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-01-23T02:11:18.552Z","etag":null,"topics":["ant","docker-compose-files","evaluation-framework","information-retrieval","research"],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/feup-infolab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-02-02T10:12:18.000Z","updated_at":"2023-10-01T06:55:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"f2303405-e5ad-436b-ae3c-50469b95e82a","html_url":"https://github.com/feup-infolab/army-ant-install","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feup-infolab%2Farmy-ant-install","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feup-infolab%2Farmy-ant-install/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feup-infolab%2Farmy-ant-install/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feup-infolab%2Farmy-ant-install/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/feup-infolab","download_url":"https://codeload.github.com/feup-infolab/army-ant-install/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243885886,"owners_count":20363643,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ant","docker-compose-files","evaluation-framework","information-retrieval","research"],"created_at":"2024-11-22T14:24:59.977Z","updated_at":"2026-02-08T12:09:52.135Z","avatar_url":"https://github.com/feup-infolab.png","language":"Dockerfile","readme":"# How to install Army ANT using Docker Compose\n\n```bash\n$ git clone https://github.com/feup-infolab/army-ant-install.git\n$ cd army-ant-install\n$ docker-compose up\n```\n\nThis will create two containers, one for MongoDB, including preloaded document metadata, and another one for Army ANT server that depends on the MongoDB instance.\n\n## Multiple instances\n\nYou might want to run different instances of Army ANT, for different projects. Let's say that you are, for example, working on two papers and would like to do several runs per paper without mixing them in the same instance.\n\nYou can do this by launching separate Army ANT instances, using:\n\n```bash\n$ docker-compose -p ijr2018 up\n```\n\nThis will launch a separate instance that, unless you call `docker-compose -p ijr2018 down`, you will be able to restore just like the default instance.\n\nEach Army ANT instance creates a volume that maps the local directory `data` to `/army-ant/data` on the container, enabling indexing operations to run inside the container over a local collection. Please view [Army ANT Examples](https://github.com/feup-infolab/army-ant/blob/0.3/EXAMPLES.md) to learn the syntax. An `index` command for a collection in `data/inex-2009-52t-nl` can be launched within the container using:\n\n```bash\n$ docker exec -i -t irj2018_army-ant_1 ./army-ant.py index \\\n    --source-path ~/data/inex-2009-52t-nl/corpus \\\n    --source-reader inex_dir \\\n    --index-location /opt/army-ant/data/inex-2099-52t-nl/lucene \\\n    --index-type lucene\n```\n\nWhere `ijr2018` is the name of the project assigned with `docker-compose`.\n\n### Ideas on archival\n\nWe are also considering a way to backup your session for archival, but this is something that might be hard to do, as we do not want backward compatibility to be a requirement in Army ANT, in order to avoid it becoming a stagnant project. Freedom to change code is essential in a set for innovation.\n\n## Evaluation Data\n\nEach milestone release of [Army ANT](https://github.com/feup-infolab/army-ant/releases) should include a set of asset files with evaluation data for the preloaded indexes. For example, [release 0.3](https://github.com/feup-infolab/army-ant/releases/tag/0.3) of Army ANT includes `inex_3t_nl-documents.json.gz`, corresponding to the JSON preloaded in the MongoDB instance, as well as `inex-2009-3t-nl.zip`, an archive with the indexed collection, which includes topics and relevance judgments to test the evaluation features provided by Army ANT via its web interface. Further information about the asset files attached to each release can be found in the [DOCKER.md](https://github.com/feup-infolab/army-ant/blob/0.3/DOCKER.md) of the corresponding release.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffeup-infolab%2Farmy-ant-install","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffeup-infolab%2Farmy-ant-install","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffeup-infolab%2Farmy-ant-install/lists"}