Skip to content
Snippets Groups Projects
Commit 5685197d authored by Andrew Cohen's avatar Andrew Cohen
Browse files

updated readme with new leverUtiltiies info

parent ab55d80d
Branches
Tags
No related merge requests found
...@@ -76,7 +76,7 @@ for nChannel=1:CONSTANTS.imageData.NumberOfChannels ...@@ -76,7 +76,7 @@ for nChannel=1:CONSTANTS.imageData.NumberOfChannels
if (min([size(pts0,1),size(pts1,1)])/max([size(pts0,1),size(pts1,1)])) <0.1 if (min([size(pts0,1),size(pts1,1)])/max([size(pts0,1),size(pts1,1)])) <0.1
continue continue
end end
MIN_MAHAL_POINTS=15 MIN_MAHAL_POINTS=15;
if size(pts0,1)<MIN_MAHAL_POINTS && size(pts1,1)<MIN_MAHAL_POINTS if size(pts0,1)<MIN_MAHAL_POINTS && size(pts1,1)<MIN_MAHAL_POINTS
d12=max([size(pts0,1),size(pts1,1)])*d; d12=max([size(pts0,1),size(pts1,1)])*d;
d21=d12; d21=d12;
......
...@@ -51,18 +51,19 @@ this is for windows 64 only. no admin account credentials required. there's a le ...@@ -51,18 +51,19 @@ this is for windows 64 only. no admin account credentials required. there's a le
<h2>installation</H2> <h2>installation</H2>
2. start a node.js command prompt 2. start a node.js command prompt
3. git clone https://git-bio.... 3. git clone git@git-bioimage.coe.drexel.edu:opensource/leverjs.git
4. cd leverjs 4. git clone git@git-bioimage.coe.drexel.edu:opensource/leverUtilities.git
5. npm update 5. cd leverjs
6. npm run postinstall 6. npm update
7. npm run postinstall
7. now you can run the electron app: 8. now you can run the electron app:
npm start npm start
and import microscope files and import microscope files
8. or start the server 9. or start the server
node server.js --port=3000 /path/to/.leverFiles node server.js --port=3000 /path/to/.leverFiles
...@@ -94,7 +95,11 @@ client side javascript. ...@@ -94,7 +95,11 @@ client side javascript.
see the scripting tab in the electron (stand-alone) image window for more details... see the scripting tab in the electron (stand-alone) image window for more details...
<h1>security</h1> <h1>security</h1>
security is designed into leverjs at every level, from the firewall, to the nginx reverse proxy, to auth0 (https://auth0.com) user api tokens, to programmatic access tokens using private/public key signing. more details to follow soon... security is designed into leverjs at every level, from the firewall, to the nginx reverse proxy, to auth0 (https://auth0.com) user api tokens, to programmatic access tokens using private/public key signing. more details to follow soon...the most secure route is to use the electron app for all your processing.
in the interim, to access the api functionality, you can use auth0 for use authentication (details TBD) or you can generate your own keys for programmatic authentication (run node.exe leverjs\keyGen.js, see matlab\+Client for examples). Alternatively, to access the api functionality, you can use auth0 for use authentication. you will need
to create an auth0.com account and application key (more details TBD). Alternatively, if you start the lever server with no security (node server.js --secure=false ...) you can then use your firewall to limit
incoming connections on the server port to localhost only (easiest but not very secure).
You can also generate your own keys for programmatic authentication (run node.exe leverjs\keyGen.js, see matlab\+Client for examples).
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment