If you decide to use the CLI to perform various activities in DME, the following steps are pre-requisites:
- Prepare Java:
- Download Java 1.8.x from the following page:
https://www.java.com/en/download/ - Install Java, as described in the following installation instructions:
https://www.java.com/en/download/help/index_installing.xml - Update your PATH system variable with the Java executable folder. For example:
c:/jdk1.8_13/bin
For details, refer to the following instructions:
https://java.com/en/download/help/path.xml Check whether you have performed the previous steps correctly: Open a cmd or shell window and type the following command. The command output should display the version of Java you intended to install:
java –version
- Download Java 1.8.x from the following page:
- Prepare the DME CLI:
- If you are using Windows, decide how you will use the command line utilities. Choose one of the following options: (Question: What are the pros and cons of each?)
- Install Cygwin as described in the following site:
https://www.cygwin.com/ - Open a terminal cmd window.
- Install Cygwin as described in the following site:
Use the following command to clone DME utilities to your local machine:
Git clone https://github.com/CBIIT/HPC_DME_APIs
- For further instructions, refer to the following file:
https://github.com/CBIIT/HPC_DME_APIs/blob/master/utils/README.mdCopy this one into an NCI wiki (not Collaborate) page:The following is the multiexcerpt that may be the source of existing exit disclaimers. Do not copy this one because it places the image on the next line after the link.
- If you are using Windows, decide how you will use the command line utilities. Choose one of the following options: (Question: What are the pros and cons of each?)
(Questions about instructions in the above readme: Where should my copy of hpcdme.properties-sample be saved? What server should be specified? Which type of environment variable - system or user? What do the export and source commands do? Should these instructions be moved from the readme to this wiki?)