Skip to content

Static Asset Server to serve local versions of ontologies #4

Description

@calummackervoy

See discussion here: Multi-User-Domain/mud-jena#15 (comment)

@MattTennison

  1. Use a environment variable for the vocab hosting endpoint here in mud-jena. For now, as we're using these GitHub branches, it could default to https://raw.githubusercontent.com/Multi-User-Domain/vocab/main
  2. Run a static asset server (e.g. https://hub.docker.com/r/halverneus/static-file-server, or could write our own) to serve these .ttl files in development. Let's say we run it on port 7000 locally.
  3. Change the environment variable for development to be http://localhost:7000, so responses reference ontologies from http://localhost:7000/mudchar.ttl instead of GitHub.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions