Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dlatk-docker

Docker container for the Differential Language Analysis ToolKit.

Installation

Full install instructions are available here. DLATK container available at DockerHub.

Example usage

Starts a mysql docker container and then builds and runs the DLATK container; linking the two containers together. See https://hub.docker.com/_/mysql/ for more info on the MySQL container.

docker run --name mysql_v5 -v /my/own/datadir:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=my-secret-pw -d mysql:5.5
docker run -it --rm --name dlatk_docker_test --link mysql_v5:mysql dlatk/dlatk bash

Variables

The following variables can be overridden in the DLATK docker container allowing for the user to use a different MySQL instance:

  • MYSQL_USER: Username for the DB.
  • MYSQL_PASSWORD: Password for the user.
  • MYSQL_HOST: IP/Host of the server.
  • MYSQL_PORT: Port of the server (e.g. 3306).

Loading the sample datasets

If following the tutorial you'll need run the following to load the sample data:

mysql < $DLATK_DIR/data/dla_tutorial.sql
mysql < $DLATK_DIR/data/permaLexicon.sql

Acknowledgment

The DockerFile was originally written by Michael Becker at Penn Medicine.

TODO

  • Create a docker-compose.yml.
  • Optionally allow for the IBM Wordcloud jar to be utilized.

About

Docker container for the Differential Language Analysis ToolKit

Resources

Stars

4 stars

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages