Wiki source code of Git clone into a notebook

Version 7.1 by kindler on 2021/12/15 15:49

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
18 * the cloned files are in the new directory brainscales2-demo
19 [[image:1639579556725-986.png||height="230" width="768"]]
20 * Note: to run the examples, please use "EBRAINS_release..." kernel ([[see the troubleshooting page>>https://wiki.ebrains.eu/bin/view/Collabs/neuromorphic/Troubleshooting/#HBrainScaleS-2interactivedemodoesnotworkwitherrormessage22ModuleNotFoundError%3ANomodulenamed27pynn_brainscales2722]] for how to change the kernel)