Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This tutorial page describes how to set up an environment for writing and running workflows for Kurator-Akka.  The tutorial is These instructions are valid for release 0.2 and later of Kurator-Akka. 

...

Test your installation by running the hello.yaml workflow. Assuming kurator-akka.jar is in your current working directory type:

java

...

-jar

...

kurator-akka.jar

...

-f

...

classpath:/org/kurator/akka/samples/hello.yaml

...

If the Kurator-Akka jar is stored elsewhere, qualify kurator-akka.jar with the path to that file. If you stored the jar file in the bin subdirectory of your home directory (on a Unix platform), running Kurator-Akka would look something like this:

...

jar xf kurator-akka.jar org/kurator/akka/samples  

To run a script residing on the filesystem, you can use the file scheme:

...

On Unix platforms you can create an alias for more conveniently running Kurator-Akka at the command line. For example, if you have saved the Kurator-Akka jar to the bin subdirectory of your home directory, the following bash command will create an alias for running Kurator-Akka simply by typing kurator-akka at the command prompt.

alias

...

kurator-akka='java

...

-jar

...

~/bin/kurator-akka.jar'

...

If you use csh or tcsh the command is:

alias

...

kurator-akka

...

java

...

-jar

...

~/bin/kurator-akka.jar

...

The hello.yaml demo then can be run using the alias:

$

...

kurator-akka

...

-f

...

classpath:/org/kurator/akka/samples/hello.yaml

...

Hello

...

World!

...

$

...