Attention: The EBRAINS drive will be unavailable for most of the weekend starting the 25th October. Although the Lab is availble while the Drive is down, files that are stored in the Drive will not be loaded and you will be unable to save documents directly on the Lab.


Wiki source code of Git clone from a notebook

Version 5.1 by kindler on 2021/12/15 15:46

Show last authors
1 To get e.g. the newest BrainScaleS-2 interactive tutorial examples from [[this github repository>>https://github.com/electronicvisions/brainscales2-demos.git --branch jupyter-notebooks]]:
2
3 * Open your "Lab" (left hand menu, choose CSCS as execution site for the Jupyter notebooks)
4 * create a folder, to which the examples should be cloned in the file browser (here e.g. "test")
5 [[image:1639578846465-641.png||height="171" width="185"]]
6 * Open the Git  > Git Command in Terminal menu item
7 [[image:1639579028389-249.png||height="139" width="419"]]
8 * (((
9 in the appearing terminal change into the directory, to where you would like to clone the examples files:
10 cd /opt/app-root/src/shared/NMC\ test\ collab\ for\ user\ YOUR_USERNAME
11 )))
12 * then type in the clone command:
13
14 {{{git clone https://github.com/electronicvisions/brainscales2-demos.git --branch jupyter-notebooks
15
16 }}}
17 * the cloned files are in the new directory brainscales2-demo
18 [[image:1639579556725-986.png||height="230" width="768"]]