Versions Compared

Key

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

...

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

java -jar kurator-akka.jar -f classpath:/org/kurator/akka/samples/hello.yaml

If the RestFlow 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:

...

If you would like to browse and edit the sample workflows included in the Kurator-AkkajarAkka jar, type the following (qualifying the path to the Kurator-Akka jar as necessary) from a working directory and extract them to your filesystem:

...

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

$ java -jar ~/bin/restflowkurator-akka.jar -f file:samples\hello\hello1.yaml
Hello World!

...

$ java -jar ~/bin/kurator-akka.jar -f samples\hello\hello.yaml
Hello World!

 5. Create an alias for

...

Kurator-Akka (optional)

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

alias restflowkurator-akka='java -jar ~/bin/restflowkurator-akka.jar'

If you use csh or tcsh the command is:

alias restflowkurator-akka java -jar ~/bin/restflowkurator-akka.jar

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

$ restflowkurator-akka -f classpath:/samples/hello1.yaml
Hello World!
$

...