Skip to content

Commit

Permalink
Merge pull request #9 from imanabu/development
Browse files Browse the repository at this point in the history
Development
  • Loading branch information
imanabu authored Aug 7, 2021
2 parents 660757c + b887dcd commit 3968f87
Show file tree
Hide file tree
Showing 5 changed files with 97 additions and 31 deletions.
86 changes: 59 additions & 27 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
FROM node
EXPOSE 3000
ADD ./ /home/node/src
RUN cp -r /home/node/src/bin /home/node/bin
RUN cp -r /home/node/src/client /home/node/client
RUN cp -r /home/node/src/config /home/node/config
RUN cp -r /home/node/src/model /home/node/model
RUN cp -r /home/node/src/public /home/node/public
RUN cp -r /home/node/src/routes /home/node/routes
RUN cp -r /home/node/src/services /home/node/services
RUN cp -r /home/node/src/app.js /home/node/app.js
RUN cp -r /home/node/src/routes /home/node/routes
RUN cp -r /home/node/src/interfaces.* /home/node/.
RUN cp -r /home/node/src/node_modules /home/node/node_modules
RUN cp -r /home/node/src/package* /home/node/.
RUN cp -r /home/node/src/tsconfig.json /home/node/.
CMD cd /home/node && npm start
16 changes: 13 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,17 @@ Release Date: 2021-07-23

## New Features and Changes

### 0.0.11

Docker container support added

### 0.0.10
* Fixed the limit parameter issue

### 0.0.9

* Security Update
* Compiler compatilibity updates for TypeScript 3.9.6
* Compiler compatibility updates for TypeScript 3.9.6

### 0.0.8

Expand Down Expand Up @@ -64,8 +68,7 @@ No bugs

## Introduction

When you are testing or a demo-ing a PACS or a modality, we often need to start from a Modality Worklist
and I always needed some ways of automatically generating them and I also want them to look somewhat
When you are testing or a demo-ing a PACS or a modality, we often need to start from a Modality Worklist, and I always needed some ways of automatically generating them, and I also want them to look somewhat
real and gender correct in terms of how the names are presented.

So I wrote a Node/Express app to generate a bunch of visits with hospital departments
Expand Down Expand Up @@ -117,6 +120,13 @@ When the DICOM QIDO request is made for /studies it returns the MWL entries

## How To Install, Run and Improve It

### If you want to just run this with the Docker...

docker pull voxeleron/dcm-mwl-testgen
docker run --rm -p 3000:3000 voxeleron/dcm-mwl-testgen

### If you want to run directly on your machine or want to develop further...

This is a NodeJS/Express project and written in TypeScript and so you would do the following.

1. Install NodeJS and npm
Expand Down
7 changes: 7 additions & 0 deletions docker-build.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
$name="voxeleron/dcm-mwl-testgen"
docker stop $name
docker rm $name
docker rmi $name
# Build out the images
docker build -t $name .
docker tag $name $name:latest
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dcmwebmwltestgen",
"version": "0.0.10",
"version": "0.0.11",
"description": "DICOM Web Based Modality Worklist Test Generator",
"main": "app.js",
"repository": "https://[email protected]/imanabu/dcmWebMwlTestGen.git",
Expand Down

0 comments on commit 3968f87

Please sign in to comment.