Skip to content
This repository has been archived by the owner on Apr 11, 2023. It is now read-only.

crkn-rcdr/cihm-iiif-presentation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cihm-iiif-presentation

cihm-iiif-presentation is a web service providing the IIIF Presentation API v2.1 for Canadiana content.

Configuration

You will need to create a docker-compose.override.yml file with machine-specific information. Here are the contents of such a file for development:

version: "3"

services:
  cihm-iiif-presentation:
    build: .
    command: yarn run dev
    environment:
      COPRESENTATION_ENDPOINT: <path to copresentation db>
      IIIFI_ENDPOINT: <path to IIIF Image server, with prefix>
      SELF_ENDPOINT: <path to this server, with prefix>
    ports:
      - "3000:3000"
    volumes:
      - ./src:/home/node/iiifp/src

A similar file for a production build, which does not allow for code watching:

version: "3"

services:
  cihm-iiif-presentation:
    build: .
    command: yarn run start
    environment:
      COPRESENTATION_ENDPOINT: <path to copresentation db>
      IIIFI_ENDPOINT: <path to IIIF Image server>
      SELF_ENDPOINT: <path to this server, with prefix>
      NODE_ENV: production
    ports:
      - "3000:3000"

Note that the three endpoint environment variables are required for the server to run.

About

Canadiana IIIF Presentation Layer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published