Skip to content
Snippets Groups Projects
Select Git revision
  • main default protected
  • 24-everything-from-git
  • 45-create-new-poc-deployment-with-docker
  • 44-add-a-cli-tool
  • improve-deployment
  • 31-backend
  • bash-script-bug-fix
  • upgrades_submodules
  • 24-dependencies-build-nested-watch
  • 24-dependencies-build-using-workspaces
  • 24-dependencies-build
  • wip-all-local
  • 10-annotot
  • 3-annotation-plugin-showing-up
14 results

poc-mirador-video-annotation

  • Clone with SSH
  • Clone with HTTPS
  • Mirador Video Annotation POC

    Copy .env.template to .env and change variables to suit your need (you can skip the edit step)

    Run docker-compose up -d, which will serve a mirador instance at http://localhost:$PORT (default port is 8080).

    The $HTTP_FOLDER (./www by default) directory will be accessible via HTTP at http://localhost:$PORT/data and can be used to store manifests and theirs ressources and see them in Mirador.

    If sources files are modified, run docker-compose up -d --build to update Mirador

    Use the development server

    Follow the previous instructions if you want to access ressources from $HTTP_FOLDER via HTTP in the devserver.

    Edit .env (copy it from .env.template if needed), set COMPOSE_FILE=docker-compose.yml:devserver.yml and adapt DEV_* variables to your needs.

    Run docker-compose up -d --build devserver, which will serve a mirador instance at http://localhost:$DEV_PORT (default port is 9000) with live rebuild/reload enabled on each src/ and public/ files modifications.