Sign inSign up

ceetron/demo-web-viewer

By ceetron

•Updated 3 months ago

Demo web viewer with CUG server backend

Image
0

1.5K

ceetron/demo-web-viewer repository overview

⁠Ceetron Demo Web Viewer

⁠Run with built-in demo model:

docker run -p 8080:8090 -d ceetron/demo-web-viewer:latest

The demo viewer should then be available on http://localhost:8080⁠.

⁠Run and mount own models

docker run -p 8080:8090 -v MODELS_DIR:/usr/Models -v DATA_DIR:/usr/DemoViewerData -d ceetron/demo-web-viewer:latest
⁠MODELS_DIR

Absolute path to directory containing the model data, with the following structure:

  • modelKey#model1Key
    • CUG DB
  • modelKey#model2Key
    • CUG DB
  • ...

Here, CUG DB is the output from CugConverter.

⁠DATA_DIR

Absolute path to data directory, with the following structure:

  • models.json
  • snapshots
    • model1Key.png
    • model2Key.png
    • ...
⁠models.json

JSON with following format:

[
  {
    "key": "model1Key",
    "name": "Model1 Name",
    "description": "Model1 Description"
  },
  {
    "key": "model2Key",
    "name": "Model2 Name",
    "description": "Model2 Description"
  },
  ...
]

Tag summary

Content type

Image

Digest

sha256:6aafc9c0c…

Size

79.6 MB

Last updated

3 months ago

docker pull ceetron/demo-web-viewer