瀏覽代碼

Merge to origin

Andrej Studen 6 年之前
父節點
當前提交
1cbaa8893e
共有 1 個文件被更改,包括 25 次插入0 次删除
  1. 25 0
      README.md

+ 25 - 0
README.md

@@ -0,0 +1,25 @@
+This package allows user to connect to a labkey server through a slicer interface.
+
+To use, add path to unpackaged labkeySlicerPythonAPI/labkeySlicerPythonExtension to
+Additional module paths in Slicer->Edit->Application Settings->Modules submenu.
+
+Then the package will appear under Examples.
+
+If you are interested in the code, you should look at slicerNetwork.py which 
+implements the communication with the server and forms HTTP Labkey API commands.
+
+You will need your key and certificate in a separate file to use the code.
+On linux, this is accomplished by:
+
+openssl pkcs12 -in yourP12File.p12 -nocerts -out privateKey.key
+
+openssl pkcs12 -in yourP12File.p12 -nokeys -out privateKey.crt
+
+The server certificate can be copied from:
+http://merlin.fmf.uni-lj.si/signing-ca-1.crt
+
+Enjoy!
+
+Andrej
+
+