Preparation work before project development

Issue #20 resolved
yangzefu created an issue

Hello, I am very interested in this project.

I am a student and I want to continue to develop this project as an extracurricular project in the school.

What should I do? How should I configure the development environment? I want to see the modified result of my code in real time. Can I achieve this goal without jar package of OHIF-VIEWER?

Comments (4)

  1. yangzefu reporter

    I'm sorry for not clarifying this question.

    If I want to add a new feature to the project, do I have to package the project into .jar format and put it in the /data/xmat/home/plugins directory of the xnat server every time? This is too inefficient. Is there anything more proper method.

    Please tell me what to do, it is very important to me. Thank you very much!!!

  2. Mo Alsad

    Hello,

    Here is a list of steps to follow:

    1. Install the plugin’s jar file in your development XNAT instance
    2. Clone the OHIF-Viewer-XNAT repo
    3. Create /platform/viewer/.env file and fill it with your XNAT platform parameters, similar to the example below
    XNAT_DOMAIN=http://10.1.1.17
    XNAT_USERNAME=admin
    XNAT_PASSWORD=admi
    

    Finally, run the dev server with

    yarn run dev:xnat
    

    Hope that helps!

    Kind regards,

    Mo

  3. Log in to comment