diff --git a/README.md b/README.md index ef64cfc1bf5dc1804403271361e06cdc3b8f468d..b6a75d6131b2ea7f5c878d42c164cc1d13dd7e91 100644 --- a/README.md +++ b/README.md @@ -48,8 +48,8 @@ Go to GitLab's [Applications settings](https://gitlab.com/profile/applications) ``` http://127.0.0.1:8000/api/v1/oauth/providers/gitlab/callback/ -http://localhost:8000/api/v1/oauth/providers/gitlab/callback/ -https://localhost/api/v1/oauth/providers/gitlab/callback/ +http://ark.localhost:8000/api/v1/oauth/providers/gitlab/callback/ +https://ark.localhost/api/v1/oauth/providers/gitlab/callback/ ``` Once the application is created, GitLab will provide you with an application ID and a secret. Use the `local_settings.py` file to set them: @@ -61,7 +61,7 @@ GITLAB_APP_SECRET = "9d96d9d5b1addd7e7e6119a23b1e5b5f68545312bfecb21d1cdc6af22b8 ### Local image server -Arkindex splits up image URLs in their image server and the image path. For example, a IIIF server at `http://iiif.irht.cnrs.fr/iiif/` and an image at `/Paris/JJ042/1.jpg` would be represented as an ImageServer instance holding one Image. Since Arkindex has a local IIIF server for image uploads and thumbnails, a special instance of ImageServer is required to point to this local server. In local developement, this server should be available at `https://localhost/iiif`. You will therefore need to create an ImageServer via the Django admin or the Django shell with this URL. To set the local server ID, you can use the `LOCAL_IMAGESERVER_ID` environment variable or set a custom setting in `local_settings.py`: +Arkindex splits up image URLs in their image server and the image path. For example, a IIIF server at `http://iiif.irht.cnrs.fr/iiif/` and an image at `/Paris/JJ042/1.jpg` would be represented as an ImageServer instance holding one Image. Since Arkindex has a local IIIF server for image uploads and thumbnails, a special instance of ImageServer is required to point to this local server. In local developement, this server should be available at `https://ark.localhost/iiif`. You will therefore need to create an ImageServer via the Django admin or the Django shell with this URL. To set the local server ID, you can use the `LOCAL_IMAGESERVER_ID` environment variable or set a custom setting in `local_settings.py`: ``` LOCAL_IMAGESERVER_ID = 999