Spinal Cord Toolbox (SCT) is a comprehensive, free and open-source set of command-line tools dedicated to the processing and analysis of spinal cord MRI data see the GitHub Repo for more information. This service provides a User Interface, the FSLeyes image viewer.
An osparc-ui module consists of two services, a web proxy web
and the actual application app
. The web
service acts only as a proxy for integration into the osparc platform. The app
service consists of the X11 based GUI application that should be accessible via the osparc iframe and some additional supporting programs:
- supervisord: to control the processes in the container
- xtigervnc: VNC client/server application with embedded X-server
- novnc: opensource javascript vnc client
- openbox: Minimal window manager
Build the module:
$ make build
To run locally at and visit http://127.0.0.1:28080
make run-local
To publish in local throw-away registry:
make publish-local
- The application should be installed via modification of the
Dockerfile
inspinal-cord-toolbox/app
- The
[program:app]
section insupervisord.conf
inspinal-cord-toolbox/app/config
needs to be modified to accomodate to the correct command line for the program.
Two versions:
- integration version (e.g.
spinal-cord-toolbox/VERSION_INTEGRATION
) is updated withmake version-integration-*
- service version (e.g.
spinal-cord-toolbox/VERSION
) is updated withmake version-service-*
A template ci config file is created in ```.github/workflows/check-image.yml``) that just builds the image.
The required CI is already packaged. To build and push to the internal registry you must add it to the oSparc/docker-publisher-osparc-services repository.