X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/c1f0890ca1539f6b71946491827dd35d7d214354..544f1dceeb4e5fcc63b683d3edac48e62bca5958:/doc/user/cwl/arvados-vscode-training.html.md.liquid diff --git a/doc/user/cwl/arvados-vscode-training.html.md.liquid b/doc/user/cwl/arvados-vscode-training.html.md.liquid index 80477e9d77..804b3ad7bb 100644 --- a/doc/user/cwl/arvados-vscode-training.html.md.liquid +++ b/doc/user/cwl/arvados-vscode-training.html.md.liquid @@ -9,7 +9,7 @@ Copyright (C) The Arvados Authors. All rights reserved. SPDX-License-Identifier: CC-BY-SA-3.0 Imported from https://github.com/arvados/arvados-vscode-cwl-training -git hash: e21c963c05fb35bd8be15e24f72045e9c1cec668 +git hash: f39d44c1bdb2f82ec8f22ade874ca70544531289 {% endcomment %} @@ -79,16 +79,18 @@ Code (abbreviated "vscode") to develop CWL workflows on Arvados. 1. Vscode: On the left sidebar, choose `Explorer` ![](images/Explorer.png) 1. Select `Clone Repository` and enter [https://github.com/arvados/arvados-vscode-cwl-training](https://github.com/arvados/arvados-vscode-cwl-training), then click `Open` 1. If asked `Would you like to open the cloned repository?` choose `Open` -1. Vscode: Click on the `Terminal` menu - 1. Vscode: Click `Run Task…` - 1. Vscode: Select `Configure Arvados` - 1. Go to Arvados Workbench +1. Go to Arvados Workbench 1. Workbench: In the user menu, select `Current token` - 1. Workbench: Copy the text following `ARVADOS_API_HOST=` to the end of the line - 1. Vscode: Paste the string at the `Value for ARVADOS_API_HOST` prompt - 1. Workbench: Copy the text following `ARVADOS_API_TOKEN=` to the end of the line - 1. Vscode: Paste the string at the `Value for ARVADOS_API_TOKEN` prompt - 1. This will create files called `API_HOST` and `API_TOKEN` + 1. Workbench: Click on `Copy to Clipboard`. + 1. Workbench: You should see a notification `Token copied to clipboard`. + 1. Go to Vscode + 1. Vscode: Click on the `Terminal` menu + 1. Vscode: Click `Run Task…` + 1. Vscode: Select `Set Arvados Host` + 1. Vscode: Paste the value of API Host from the Workbench `Get API Token` dialog (found in the User menu) at the prompt + 1. Vscode: Next, run task `Set Arvados Token` + 1. Vscode: Paste the value of API Token from the Workbench `Get API Token` dialog + 1. Vscode: These will create files called `API_HOST` and `API_TOKEN` ## 3. Register & run a workflow