From 524b769300adfe624da13ab4c912e387bd22b96b Mon Sep 17 00:00:00 2001 From: Peter Amstutz Date: Tue, 2 Feb 2021 16:10:50 -0500 Subject: [PATCH] Start adding screenshots Arvados-DCO-1.1-Signed-off-by: Peter Amstutz --- README.md | 28 +++++++++++++++++++--------- images/Extensions.png | Bin 0 -> 1256 bytes 2 files changed, 19 insertions(+), 9 deletions(-) create mode 100644 images/Extensions.png diff --git a/README.md b/README.md index 188ca26..c3a39c8 100644 --- a/README.md +++ b/README.md @@ -11,12 +11,22 @@ Code (abbreviated "vscode") to develop CWL workflows on Arvados. ## 1. SSH Setup 1. (Windows only) Install git for windows [https://git-scm.com/download/win](https://git-scm.com/download/win) -1. Open bash shell (installed with git for Windows) + 1. Choose "64-bit Git for Windows Setup". It does not require admin privileges to install. + 1. Hit "Next" a bunch of times to accept the defaults + 1. The most important things is that "install git bash" and "install OpenSSH" are enabled. + 1. At the end of the installation, you can launch tick a box to git bash directly. + 1. Open "Git Bash" (installed in the "Git" folder of the start menu) +1. From an open bash shell 1. Shell: Run `ssh-keygen` - 1. Shell: Look for `Your public key has been saved in /c/Users/MyUsername/.ssh/id_rsa.pub` + 1. Hit enter to save to a default location + 1. You can choose to protect the key with a password, or just hit enter for no password. + 1. Shell: Look for a message like `Your public key has been saved in /c/Users/MyUsername/.ssh/id_rsa.pub` 1. Shell: Run `cat /c/Users/MyUsername/.ssh/id_rsa.pub` - 1. Shell: Highlight and copy the lines starting with `ssh-rsa …` -1. Open Arvados workbench + 1. Shell: Use the pointer to highlight and copy the lines starting + with `ssh-rsa …` up to the next blank line. Right click and + select "Copy" +1. Open Arvados workbench 2. If necessary, go to the user menu and + select "Go to Workbench 2" 1. Workbench: Go to `SSH keys` in the user menu 1. Workbench:Click `+Add new ssh key` 1. Workbench: Paste the key into `Public key` and enter something for `name` @@ -24,17 +34,17 @@ Code (abbreviated "vscode") to develop CWL workflows on Arvados. 1. Workbench: Highlight and copy the value in in the `Command line` column. 1. At the git bash command line 1. Shell: paste the `ssh shell…` command line you got from workbench. - 1. Shell: type "yes" if it asks `do you want to continue connecting` - 1. Shell: You should now be logged into the Arvados shell node. Note: - it can take up to two minutes for the SSH key to be copied to - the shell node. If it doesn't work the first time, wait 60 + 1. Shell: type "yes" if it asks `Are you sure you want to continue connecting`. + 1. Note: it can take up to two minutes for the SSH key to be copied to + the shell node. If you get "Permission denied" the first time, wait 60 seconds and try again. + 1. Shell: You should now be logged into the Arvados shell node. 1. Shell: Log out by typing `exit` ## 2. VSCode setup 1. Install [Visual Studio Code](https://code.visualstudio.com/) and start it up -1. Vscode: go to `Extensions` +1. Vscode: go to `Extensions` ![](images/Extensions.png) 1. search for `remote development` and install the Remote Development extension pack from Microsoft 1. Vscode: On the left side bar, choose `Remote explorer` 1. In the drop down, choose `SSH targets` diff --git a/images/Extensions.png b/images/Extensions.png new file mode 100644 index 0000000000000000000000000000000000000000..7f797a1d02d91df0d23fcdd35f5394108d3f2d8d GIT binary patch literal 1256 zcmVP)EX>4Tx062|}R7+?RQ4~E%t*upTEk#sBf|UB92{CD{f=FvqYao@_refUG$;{-V zndvYyX%$4ea#L_Aiko7QZe6w8F2tqahYGGlMBEEqs5PGVW^AG~(i!gD^X|L9ckg`z zG`}mWhO;9I7^Z8Fk6s8}%U%z)d`19m=s*-l6xFeY(&-c$KI?1L=JPfze9b@k6;PLs zwZ2{`+`Tft?^9zt`RvtnM+E}C#4**fUE&+W_h(&8;IG78YEjXMe-iiFOb`ej7xJ8k z&k0=ca9UtHGd@gA8*~)vaIOxkMcW`|40Id1s}MgTt!akI{bq~uh-PR4FNoZXaz*uX z7N^~#o0Ajd`$>n9zz9-&LzqMieK^JM7;Cz<%}r^OK@lZ5w6S1g8hNhD(7E=cc}jJ; z7JDJwf=M*XZwM-pg*((Jp+G+_WkTB_5;B#%L>-fo2q1d;Z?BwuJmzJ#dxd9wSgn4$ z3bdR6Hr`jOKbEW2jb}j92Vix*W^eJlXA_h!)@0pFKzkNgo~y}nhkzBH{opQ3v6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