2019-01-30 18:07:39 +01:00
|
|
|
# OHIF Viewer (React Version)
|
2019-01-17 17:00:21 +01:00
|
|
|
|
2019-01-30 18:07:39 +01:00
|
|
|
Disclaimer: Work in Progress
|
2019-01-17 17:00:21 +01:00
|
|
|
|
2019-01-30 18:07:39 +01:00
|
|
|
## To run locally
|
2019-01-17 17:00:21 +01:00
|
|
|
|
2019-01-30 18:07:39 +01:00
|
|
|
1. `yarn install`
|
|
|
|
|
1. `yarn start`
|
2019-02-02 12:10:56 +01:00
|
|
|
1. `Go to http://localhost:5000`
|
2019-01-17 17:00:21 +01:00
|
|
|
|
2019-01-30 18:07:39 +01:00
|
|
|
To user another DICOMWeb endpoint, adapt index.js
|
2019-01-17 17:00:21 +01:00
|
|
|
|
2019-01-30 18:07:39 +01:00
|
|
|
## To include in your projects
|
2019-01-17 17:00:21 +01:00
|
|
|
|
2019-01-30 18:07:39 +01:00
|
|
|
Please refer to the example in the example directory. To set the DICOMWeb endpoint and do other customization, adapt index.html.
|
2019-01-17 17:00:21 +01:00
|
|
|
|
2019-01-30 18:07:39 +01:00
|
|
|
### Build
|
2019-01-17 17:00:21 +01:00
|
|
|
1. `yarn install`
|
2019-01-30 18:07:39 +01:00
|
|
|
1. `yarn build`
|
|
|
|
|
|
|
|
|
|
### Run the example
|
2019-01-17 17:00:21 +01:00
|
|
|
1. `cd example`
|
|
|
|
|
1. `yarn install`
|
|
|
|
|
1. `yarn start`
|
2019-01-30 18:07:39 +01:00
|
|
|
1. `Go to http://localhost:5000`
|
2019-01-17 17:00:21 +01:00
|
|
|
|
|
|
|
|
## License
|
|
|
|
|
|
2019-01-30 18:07:39 +01:00
|
|
|
MIT © [OHIF](https://github.com/OHIF)
|