Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
- Timestamp:
-
05/03/10 14:37:26 (14 years ago)
- Author:
-
wmoore
- Comment:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v5
|
v6
|
|
15 | 15 | If you are planning to spend a significant amount of time developing scripts to run on an OMERO server, you may find it worthwhile to install an instance of the server on your own machine. This will give you to test scripts under 'user' or 'admin' privileges, and allow you direct access to the various files generated on the server by the scripting service. |
16 | 16 | |
17 | | == Admins == |
| 17 | == Admins - Official Scripts == |
18 | 18 | |
19 | | It is assumed that scripts written by a server admin are "trusted" to run on the server without causing any disruption or security risks. |
| 19 | It is assumed that scripts written by a server admin are "trusted" to run on the server without causing any disruption or security risks. Also, official scripts are available to all regular users of the server. |
| 20 | |
20 | 21 | * Write script |
21 | 22 | * Make sure all required package imports are available on server |
… |
… |
|
23 | 24 | {{{ scriptService.uploadOfficialScript(scriptPath, scriptText) }}} |
24 | 25 | |
25 | | OR |
26 | | {{{ |
27 | | dist will$ bin/omero -s localhost -u root script upload ../examples/ScriptingService/HelloWorld.py |
28 | | }}} |
29 | 26 | |
30 | 27 | * Run script (identify by path) |
… |
… |
|
43 | 40 | * Upload script to server (path not unique) with |
44 | 41 | {{{ scriptService.uploadScript(scriptPath, scriptText) }}} |
45 | | Returns ImageID. |
| 42 | |
| 43 | OR |
| 44 | {{{ |
| 45 | dist will$ bin/omero -s localhost -u root script upload ../examples/ScriptingService/HelloWorld.py |
| 46 | }}} |
| 47 | |
46 | 48 | * |
47 | 49 | * Run script (identified as most recent with specified path). |
1.3.13-PRO © 2008-2011
Agilo Software all
rights reserved
(this page was served in: 0.13267 sec.)