From c797161d1f8c63390e26b37b0d4d8dc581d2513f Mon Sep 17 00:00:00 2001 From: Anthony <anthony.geourjon@tetras-libre.fr> Date: Thu, 19 Jan 2023 08:32:23 +0000 Subject: [PATCH] Update Readme.md --- Readme.md | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/Readme.md b/Readme.md index c036f98..b1ee65c 100644 --- a/Readme.md +++ b/Readme.md @@ -1,10 +1,13 @@ # Mirador backend +## Get the project + +`git clone gitlab@gitlab.tetras-libre.fr:iiif/backend.git && cd backend` + ## Install and run ### local - #### Requirements + virtualenv (optionnal) @@ -12,11 +15,14 @@ #### Dev mode -1. Optionnal create a virtual env `virtualenv venv && . venv/bin/activate` +1. Optionnal create a virtual env : + - `virtualenv venv && . venv/bin/activate` + - OR `python3 -m venv venv && . venv/bin/activate` + 2. Install dependencies `pip install -e .` 3. `cp .env.sample .env` and edit `.env` file to suit your needs 4. Run `flask --debug --app Mirador_backend.app run` - +5. Go to [http://localhost:5000/mirador_resource](http://localhost:5000/mirador_resource) #### Production mode **TODO** @@ -40,6 +46,8 @@ cp .env.sample .env docker-compose up ``` +Go to [http://localhost:5000/mirador_resource](http://localhost:5000/mirador_resource) + #### Test ``` -- GitLab