X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/660e8d8345bfe7f34dfc8db655eff6a0af8bd47f..a1fc48d0bdba5062da9d8ea57e2cda805421aab8:/doc/user/tutorials/running-external-program.html.textile.liquid diff --git a/doc/user/tutorials/running-external-program.html.textile.liquid b/doc/user/tutorials/running-external-program.html.textile.liquid index 758faa5a9f..da6df59c4d 100644 --- a/doc/user/tutorials/running-external-program.html.textile.liquid +++ b/doc/user/tutorials/running-external-program.html.textile.liquid @@ -10,14 +10,14 @@ This tutorial demonstrates how to use Crunch to run an external program by writt In this tutorial, you will use the external program @md5sum@ to compute hashes instead of the built-in Python library used in earlier tutorials. -Start by entering the @crunch_scripts@ directory of your git repository: +Start by entering the @crunch_scripts@ directory of your Git working tree:
~$ cd you/crunch_scripts
 
-Next, using @nano@ or your favorite Unix text editor, create a new file called @run-md5sum.py@ in the @crunch_scripts@ directory. +Next, using @nano@ or your favorite Unix text editor, create a new file called @run-md5sum.py@ in the @crunch_scripts@ directory. notextile.
~/you/crunch_scripts$ nano run-md5sum.py
@@ -29,7 +29,7 @@ Make the file executable: notextile.
~/you/crunch_scripts$ chmod +x run-md5sum.py
-Next, add the file to @git@ staging, commit and push: +Next, use Git to stage the file, commit, and push:
~/you/crunch_scripts$ git add run-md5sum.py
@@ -38,7 +38,7 @@ Next, add the file to @git@ staging, commit and push:
 
-You should now be able to run your new script using Crunch, with "script" referring to our new "run-md5sum.py" script. +You should now be able to run your new script using Crunch, with @"script"@ referring to our new @run-md5sum.py@ script.
~/you/crunch_scripts$ cat >~/the_pipeline <<EOF
@@ -53,7 +53,7 @@ You should now be able to run your new script using Crunch, with "script" referr
           "dataclass": "Collection"
         }
       },
-      "repository":"you",
+      "repository":"$USER",
       "script_version":"master"
     }
   }
@@ -63,4 +63,6 @@ EOF
 
-Your new pipeline template will appear on the "Workbench %(rarr)→% Compute %(rarr)→% Pipeline templates":https://{{ site.arvados_workbench_host }}/pipeline_instances page. You can run the "pipeline using workbench":tutorial-pipeline-workbench.html +(Your shell should automatically fill in @$USER@ with your login name. The JSON that gets saved should have @"repository"@ pointed at your personal Git repository.) + +Your new pipeline template will appear on the Workbench "Compute %(rarr)→% Pipeline templates":https://{{ site.arvados_workbench_host }}/pipeline_templates page. You can run the "pipeline using Workbench":tutorial-pipeline-workbench.html.