.. |tr| replace:: Text Repository |tr| =============== Backend repository to store and index corpora with metadata and versions. Features -------- - Store texts of a corpus in a uniform `domain model `_: - Keep track of file versions - Link all file types to the same source document - Store metadata about documents, files and versions - Use Rest API to create, read, update and delete texts - Search files using stock and custom `elasticsearch `_ indices - Explore API with `concordion `_ and `swagger `_ ---- .. figure:: textrepo-overview.png Schematic overview of the |TR|: **a)** search in corpus; **b+c)** manage file types, versions and metadata of corpus; **d+e)** build custom indices that are automatically kept in sync with corpus; **f+g)** store all data in a unified database model. Installation ------------ Prerequisites: docker-compose. To run the |tr| locally, run in a new directory: :: git clone https://github.com/knaw-huc/textrepo . cd examples/production curl -o scripts/wait-for-it.sh https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-for-it.sh chmod +x scripts/wait-for-it.sh ./start-prod.sh Read more on `basic usage `_ Documentation ------------- .. toctree:: :maxdepth: 2 Basic Usage Domain model Components Rest and Tasks API Indexing Dashboard Production Setup Backup Elasticsearch Content Coordinate System [Experimental] FAQ Support ------- If you are having issues, please let us know at: https://github.com/knaw-huc/textrepo/issues Contribute ---------- Want to improve the |tr|? Submit a pull request at: https://github.com/knaw-huc/textrepo License ------- Copyright 2019-2021 Koninklijke Nederlandse Akademie van Wetenschappen Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.