85 lines
3.3 KiB
Text
85 lines
3.3 KiB
Text
Subject: Action Item: Upcoming DataLad Workshop
|
||
|
||
|
||
Dear Participants of the upcoming DataLad-Workshop,
|
||
|
||
not long until we meet in Leipzig!
|
||
To jump right into the topic at the workshop I kindly ask to read and follow the instructions below on how to install datalad and the required components on your system.
|
||
|
||
If you have any questions or run into problems, don’t hesitate to ask.
|
||
Virtual help is available Tuesdays at 4pm Berlin time in the DataLad Office Hour: https://matrix.to/#/!NaMjKIhMXhSicFdxAj:matrix.org?via=matrix.waite.eu&via=matrix.org&via=inm7.de
|
||
|
||
See you soon,
|
||
Adina
|
||
|
||
============= INSTRUCTIONS ==========================================
|
||
|
||
In order to make the workshop most relevant for individual attendees,
|
||
we invite you to bring your own laptop to the workshop, to be able
|
||
to try DataLad in an environment that is maximally familiar to you.
|
||
It is also OK to just watch the instructors show DataLad, but everyone
|
||
is encouraged to bring their device and get hands-on.
|
||
|
||
Below are installation instructions. DataLad is a data management
|
||
tool, so we advise you to install it wherever you would be working
|
||
with actual data. This may not be your laptop, but a server that you
|
||
connect to with your laptop. In that case, please consider installing
|
||
DataLad on that server. Installation on such systems does not require
|
||
administrator privileges and works with regular user accounts.
|
||
|
||
Step 1: DataLad needs Git
|
||
|
||
Many systems have have Git already installed. Try running git --version
|
||
in a terminal to check.
|
||
|
||
If you do not have Git installed, visit https://git-scm.com/downloads,
|
||
pick your operating system, download, and run the Git installer.
|
||
|
||
If you are using Conda, Brew, or a system with another package manager,
|
||
there are simpler ways to install Git, and you likely know how.
|
||
|
||
Step 2: Install UV
|
||
|
||
UV is a smart little helper that is available for all platforms and
|
||
offers the simplest way to install DataLad. DataLad is written in Python
|
||
and UV takes care of automatically creating the right environment for
|
||
DataLad to run, whether or not you know or have Python already.
|
||
|
||
Visit https://docs.astral.sh/uv/getting-started/installation/#standalone-installer
|
||
and run the standalone installer. Experts can also use any other method listed
|
||
on that page.
|
||
|
||
Step 3: Install git-annex
|
||
|
||
With UV installed, you can now install the git-annex software, a core tool
|
||
that DataLad builds upon. Run
|
||
|
||
uv tool install git-annex
|
||
|
||
Afterwards run
|
||
|
||
git annex version
|
||
|
||
to verify that you have a functional installation.
|
||
|
||
Step 4: Install DataLad
|
||
|
||
DataLad is installed exactly like git-annex. However, we also install a particular
|
||
DataLad extension package, like so:
|
||
|
||
uv tool install datalad --with datalad-container --with-executables-from datalad-next
|
||
git config --global --add datalad.extensions.load next
|
||
|
||
Verify the installation by running
|
||
|
||
datalad wtf
|
||
|
||
(it should report all kinds of information on your system).
|
||
|
||
In case you run into trouble with any of these steps, we will have some dedicate time on the first day to sort these out and ready your device for the hands-on parts.
|
||
If you do run into trouble, please consider emailing
|
||
a.wagner@fz-juelich.de with a description and ideally the terminal output showing the steps leading to any error message.
|
||
|
||
Thanks and looking forward to meeting you next week!
|
||
|
||
============= END OF INSTRUCTIONS =============================
|