Radiology Viewer
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.github
.vscode
images
scripts
src
.eslintrc.json
.gitattributes
.gitignore
.travis.yml
404.html
Dockerfile
README.md
bower.json
docker-compose.yml
index.html
manifest.json
package.json
polymer.json
service-worker.js
sw-precache-config.js

README.md

Radiology Viewer by FNNDSC

Project was initialized with the Polymer Starter Kit v2

Update

git pull origin master && \
rm -rf bower_components && \
bower update

Develop

polymer serve

Build

es5-bundled preset includes:

  • js-compile: es6 -> es5 (for older browser support)
  • js-minify
  • html-minify
  • css-minify
  • more
cd ~/src/gex && \
polymer build --verbose --preset es5-bundled && \
polymer serve --port 8060 --hostname 0.0.0.0 build/es5-bundled

Docker container

Build the app

See above

Build the docker container

docker build -t fnndsc/rav:dev .

Deploy to dockerhub

docker push fnndsc/rav:dev

Save docker image to a file

docker save fnndsc/rav:dev > rav.tar

Load docker image from a file

docker load < rav.tar

Deploy

Citations

CUBE Setup

Start CUBE:

docker-compose up

Startpfdcm with right port

./pfdcm --forever --httpResponse --startlistener --setPACS \
'{
    "orthanc" : {
        "server_ip": "%HOST_IP",
        "aet": "CHIPS",
        "aet_listener": "CHIPS",
        "aec": "ORTHANC",
        "server_port": "4242"
    }
}'