From 128402b4fb90a2fef4c93f66ffdcd35bf77fd95a Mon Sep 17 00:00:00 2001 From: Bastien Abadie <bastien@nextcairn.com> Date: Fri, 11 May 2018 10:38:47 +0200 Subject: [PATCH] Add README --- README.md | 37 ++++++++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 38ff0148b6..46bd896363 100644 --- a/README.md +++ b/README.md @@ -1 +1,36 @@ -Architecture for Historical Manuscripts Indexing \ No newline at end of file +Backend for Historical Manuscripts Indexing +=========================================== + +[](https://gitlab.com/arkindex/backend/commits/master) + +Requirements: + +* git +* make +* Python 3.5+ +* virtualenv +* [virtualenvwrapper](https://virtualenvwrapper.readthedocs.io/en/latest/) + + +Dev Setup +--------- + +``` +git clone git@gitlab.com:arkindex/backend.git +mkvirtualenv -p /usr/bin/python3 ark +cd backend +pip install -e .[test] +``` + +When the [architecture](https://gitlab.com/arkindex/architecture) is running locally to provide required services: + +``` +manage.py migrate +manage.py createsuperuser +``` + +When the [iiif-manifests](https://gitlab.com/kermorvant/iiif-manifests) are cloned locally: + +``` +manage.py import_manifest <MANIFEST_FILES> +``` -- GitLab