Skip to content

Instantly share code, notes, and snippets.

@psychemedia
Last active June 8, 2016 15:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save psychemedia/616d8586e055eb1e4b0193ac5a55b9ad to your computer and use it in GitHub Desktop.
Save psychemedia/616d8586e055eb1e4b0193ac5a55b9ad to your computer and use it in GitHub Desktop.
A first attempt at exploring some contentmine command IPython magics for use in Jupyter notebooks.
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
#Start the notebook server linked to the contentmins container as follows:
#docker-compose up -d
notebook:
image: jupyter/notebook
ports:
- "8899:8888"
volumes_from:
- contentmineshare
volumes:
- ./notebooks:/notebooks
# - ./contentmine:/cmstore
- /var/run/docker.sock:/var/run/docker.sock
privileged: true
# links:
# - contentmine:contentmine
contentmineshare:
image: psychemedia/contentmine
volumes:
- /contentmine
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment