Storing high quality medical images into a structured File System
this frontend runs against a pseudo distributed node of HDFS
Attention: every command mentioned in this readme should be run in the project folder
- install docker
- run
docker-compose up -d
in project folder to spin up the hadoop image and the backend image
In case you get an error that one or multiple ports are in use, you'll need to change the port mapping in the following way:
- run
docker-compose stop
- open
docker-compose.yml
You'll see a long list of port mappings. The first number is the port on your system, the second is the port inside of the docker container. - change the affected port (keep in mind to only change the first of the two numbers, as a change of the second number will break the application)
Download the package for your operating system here: Google Drive
if you are using Mac OSX please build the frontend manually, as described below
- install nodejs Version 7
- run
npm install
in project folder - run
node_modules/.bin/electron-rebuild
- run
node_modules/.bin/electron-packager . saveimages
- run the executable in the created folder
- install nodejs Version 7
- run
npm install
in project folder - run
node_modules/.bin/electron-rebuild
- run npm start
- log in docker container
docker exec -it [name] bash
- execute delete with user
hduser
:HADOOP_USER_NAME=hduser hdfs dfs -rm -r "/tmp/*"