X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/88b5b089f38a587292bb68772251b8275c0e27c7..e537bd8dd1ac786164f192374e0d076bdc0327f3:/doc/user/tutorials/running-external-program.html.textile.liquid?ds=sidebyside
diff --git a/doc/user/tutorials/running-external-program.html.textile.liquid b/doc/user/tutorials/running-external-program.html.textile.liquid
index be257f8589..26b93ce6b3 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
~/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,10 +38,10 @@ Next, add the file to @git@ staging, commit and push:
$ cat >the_pipeline <<EOF
+~/you/crunch_scripts$ cat >~/the_pipeline <<EOF
{
"name":"Run external md5sum program",
"components":{
@@ -53,17 +53,16 @@ You should now be able to run your new script using Crunch, with "script" referr
"dataclass": "Collection"
}
},
- "script_version":"you:master"
+ "repository":"$USER",
+ "script_version":"master"
}
}
}
EOF
-
-
$ arv pipeline_template create --pipeline-template "$(cat the_pipeline)"
+~/you/crunch_scripts$ arv pipeline_template create --pipeline-template "$(cat ~/the_pipeline)"