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.


Git clone into a notebook

Last modified by kindler on 2023/04/06 14:54

To get e.g. the newest BrainScaleS-2 interactive tutorial examples from this github repository:

  • Open your "Lab" (left hand menu, choose CSCS as execution site for the Jupyter notebooks)
  • create a folder, to which the examples should be cloned in the file browser (here e.g. "test")
    1639578846465-641.png
  • Open a "terminal" from the Launcher
     
  • In the appearing window change into the directory, to where you would like to clone the examples files:

    cd /opt/app-root/src/shared/NMC\ test\ collab\ for\ user\ YOUR_USERNAME

  • then type in the clone command:
git clone https://github.com/electronicvisions/brainscales2-demos.git --branch jupyter-notebooks

or, to get the latest experimental version:

git clone https://github.com/electronicvisions/brainscales2-demos.git --branch jupyter-notebooks-experimental
  • the cloned files are in the new directory brainscales2-demo
    1639579556725-986.png
  • Note: to run the examples, please use "EBRAINS_release..." kernel (see the troubleshooting page for how to change the kernel)