ontology-development-kit icon indicating copy to clipboard operation
ontology-development-kit copied to clipboard

Changing docs for install: better way to use wrapper script

Open matentzn opened this issue 3 years ago • 2 comments

I just realised that you can combine downloading the ODK seed script download and execution as follows:

sh -c "$(curl -fsSL https://raw.githubusercontent.com/INCATools/ontology-development-kit/master/seed-via-docker.sh)" -C oba-odk.yaml 

This greatly simplifies the initial tutorial on how to set up a repository..

matentzn avatar Jun 27 '22 06:06 matentzn

For some reason you need to add another -c to the command, else the command believes that the -C oba-odk.yaml is the ontology id.. weird:

sh -c "$(curl -fsSL https://raw.githubusercontent.com/INCATools/ontology-development-kit/master/seed-via-docker.sh)" -c -C oba-odk.yaml 

matentzn avatar Sep 25 '22 15:09 matentzn

This is the correct way to do it (note this is only for ODK 131):

curl https://raw.githubusercontent.com/INCATools/ontology-development-kit/v1.3.1/seed-via-docker.sh | bash -s --  --clean -C cato-odk.yaml 

matentzn avatar Sep 25 '22 15:09 matentzn