Contentmine Docker CLI App
An attempt to make it easier to use Contentmine tools, by simplifying the install...
Based on some cribs from Distributing Command Line Tools with Docker
- create a
contentmine
directory: egmkdir -p contentmine
- download the Dockerfile into it
- from a Docker CLI, cd in to the directory; create an image using eg
docker build -t psychemedia/contentmine .
- download the
contentmine
script and make it executable:chmod u+x contentmine
- create a folder on host in the
contentmine
folder to act as a shared folder with the contentmine container: egmkdir -p cm
- run commands
./contentmine getpapers -q aardvark -o /contentmine/aardvark -x
./contentmine norma --project /contentmine/aardvark -i fulltext.xml -o scholarly.html --transform nlm2html
./contentmine cmine /contentmine/aardvark
Contentmine Home: Contentmine
Thanks Tony, this will be very useful. Some people are having minor difficulties in installing the native CLI versions and this will help to get them off the ground.