Skip to content

Commit

Permalink
Add README
Browse files Browse the repository at this point in the history
  • Loading branch information
burgerga committed Mar 12, 2016
0 parents commit a4ddc34
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# CellProfiler plugins

## Installation

1. When you start CellProfiler set the *CellProfiler plugins directory* to the `cp_plugins` directory, and the *ImageJ plugin directory* to the `ij_plugins` directory.
1. Set the `CLASSPATH` environment variable to include the jars `DImageSVN_.jar` and `jsch.jar` in the `jarlib` directory.
There are various ways to set the classpath. For general instructions (Windows and Linux) see [here](https://docs.oracle.com/javase/tutorial/essential/environment/paths.html).

(Linux) Another way to set the classpath is on application basis like I did on the server in the `/usr/local/bin/cellprofiler` script:

```bash
#!/bin/sh
#
# Wrapper script used to start CellProfiler on Linux.

PREFIX=/opt/cellprofiler
export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64
export LD_LIBRARY_PATH=$JAVA_HOME/jre/lib/amd64/server
export CLASSPATH=/data/shared/cellprofiler_plugins/jarlib/DImageSVN_.jar:/data/shared/cellprofiler_plugins/jarlib/jsch.jar
python2 $PREFIX/CellProfiler/CellProfiler.py "$@"
```


3. (Linux) Make sure python-suds is available.

0 comments on commit a4ddc34

Please sign in to comment.