This directory contains docker-compose.yml
and environment files (stored at env/
) to make it easy to get up and running with Translation-Gummy via Docker Compose.
General installation instructions are on the Docker site.
# Open these directory and Copy your favorite font to 'fonts' dir.
$ open /System/Library/Fonts
$ open /Library/Fonts
$ open $HOME/Library/Fonts
$ copy /path/to/font.ttf[ttc] fonts/
I prepare Makefile
to simplify docker-compose
commands within make commands.
- Build the container and translate journal.
$ make bash (docker)> gummy-journal "https://www.nature.com/articles/ncb0800_500" \ -G "useless" \ -T "deepl" \ -O .
- Build the container and start a Jupyter Notebook.
$ make notebook
- Build the container and mount
examples
, then start a Jupyter Notebook.$ make examples
- Build the container and start an iPython shell.
$ make ipython
- Build the container and start a bash.
$ make bash
- Mount a volume for external data sets.
$ make DATA=~/mydata
- Prints all make tasks.
$ make help