ontology-development-kit
ontology-development-kit copied to clipboard
Changing docs for install: better way to use wrapper script
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..
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
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