Skip to content

Commit d0474a7

Browse files
committed
ENH datalad doc and add gitignore
1 parent a0992a7 commit d0474a7

File tree

2 files changed

+16
-8
lines changed

2 files changed

+16
-8
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*DS_Store

doc/install_datalad.md

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,24 +10,25 @@ To contribute see [here](https://cpp-lln-lab.github.io/CPP_HPC/contributing/)
1010
pip3 install --user --upgrade pip
1111
```
1212

13-
- Follow the
14-
[datalad handbook](http://handbook.datalad.org/en/latest/intro/installation.html#norootinstall)
13+
- Following the guide from [datalad handbook](http://handbook.datalad.org/en/latest/intro/installation.html#norootinstall)
1514
installation for HPC (no root access) or copy-paster the code below.
1615

1716
```bash
18-
# get anaconda and install it
17+
# get anaconda
1918
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
19+
20+
# install it
2021
bash Miniconda3-latest-Linux-x86_64.sh
21-
conda install -c conda-forge datalad
2222
```
2323

24+
Check that conda is installed with `conda --version` and try again.
25+
2426
If this outputs that `conda` is command not found, try:
2527

2628
```bash
27-
export PATH="/home/ucl/irsp/YOUR-USER-NAME/miniconda3/bin:$PATH"
29+
source .bashrc
2830
```
29-
30-
Check that conda is installed with `conda --version` and try again.
31+
Install datalad
3132

3233
```bash
3334
conda install -c conda-forge datalad
@@ -44,7 +45,13 @@ cd YOUR-CLONED-REPO
4445
datalad get .
4546
```
4647

47-
- If you need to create an ssh key follow this on
48+
it won't probably work since ssh keys to github/gin/etc has to be set up.
49+
50+
Set up the einviroment as you did on your personal computer and remebere that if your password is not working is is possible that github/gin/etc are expecting the token code you have to create for each machine.
51+
52+
Some usefule links and notes (but not very tidy):
53+
54+
If you need to create an ssh key follow this on
4855
[github website](https://docs.github.com/en/github/authenticating-to-github/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent)
4956

5057
or just type:

0 commit comments

Comments
 (0)