ImagingDataCommons / slim

Interoperable web-based slide microscopy viewer and annotation tool
https://imagingdatacommons.github.io/slim/
Apache License 2.0
118 stars 36 forks source link

setup preview for PR #19

Closed Punzo closed 3 years ago

Punzo commented 3 years ago

look into netlify as OIHF viewer

Punzo commented 3 years ago

Igor has done it with firebase, see fork https://github.com/igoroctaviano/slim/pull/3/checks?check_run_id=2621971527

igoroctaviano commented 3 years ago

Tested Firebase Deploy both for OHIF fork and SLIM:

hackermd commented 3 years ago

@igoroctaviano The Slim preview currently fails for me due to CORS headers.

igoroctaviano commented 3 years ago

@igoroctaviano The Slim preview currently fails for me due to CORS headers.

@hackermd we decided to go with independent servers? e.g. dcmjs? which server you're using?

pieper commented 3 years ago

Igor can you try the server I emailed about earlier?

https://idc-external-006.uc.r.appspot.com/studies

On Thu, May 20, 2021 at 6:31 PM Igor Octaviano @.***> wrote:

@igoroctaviano https://github.com/igoroctaviano The Slim preview currently fails for me due to CORS headers.

@hackermd https://github.com/hackermd we decided to go with independent servers? e.g. dcmjs? which server you're using?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/MGHComputationalPathology/slim/issues/19#issuecomment-845522681, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA6Y7OIHE2OLVQDFSNSFADTOWESPANCNFSM44HBOCGQ .

igoroctaviano commented 3 years ago

https://idc-external-006.uc.r.appspot.com/studies

@pieper just tested and its working fine. Here: https://idc-slim--pr3-test-cawctd67.web.app/ @hackermd can you use this one then?

pieper commented 3 years ago

Excellent, thanks Igor.

As you play with this let me know if it feels like the proxy slows it down compared to hitting the dicomweb endpoint directly.

-Steve

On Fri, May 21, 2021 at 2:01 PM Igor Octaviano @.***> wrote:

https://idc-external-006.uc.r.appspot.com/studies

@pieper https://github.com/pieper just tested and its working fine. Here: https://idc-slim--pr3-test-cawctd67.web.app/ @hackermd https://github.com/hackermd can you use this one then?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/MGHComputationalPathology/slim/issues/19#issuecomment-846139040, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA6Y7MYUJABQNVTJO5RM7DTO2NWRANCNFSM44HBOCGQ .

igoroctaviano commented 3 years ago

@hackermd @pieper which google acc we are going to use to set up the preview? if there's one for slim already, you can generate the firebase config with the following steps:

pieper commented 3 years ago

which google acc we are going to use

Does acc mean account? I don't think it matters. I believe the use case will stay in the free tier, but if there's a concern it won't then @hackermd could use an account from his idc-external-006 project.

Punzo commented 3 years ago

this was done by @igoroctaviano in https://github.com/MGHComputationalPathology/slim/pull/34, closing!