diff options
| author | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2019-11-11 17:05:53 +0000 |
|---|---|---|
| committer | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2019-11-11 17:05:53 +0000 |
| commit | a788e1ccb4c787caab4baa04473c86ddbb33ee8b (patch) | |
| tree | a47f94b12c057728c01be01add5a360ce2d00e06 /README.md | |
| parent | Clean up Makefile (diff) | |
| parent | Revert stripping of spaces in readme (diff) | |
| download | paper2remarkable-a788e1ccb4c787caab4baa04473c86ddbb33ee8b.tar.gz paper2remarkable-a788e1ccb4c787caab4baa04473c86ddbb33ee8b.zip | |
Merge branch 'ClaytonJY-shrink-dockerfile'
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -133,7 +133,7 @@ First clone this repository with `git clone` and `cd` inside of it, then build the container: ```bash -docker build -t paper2remarkable . +docker build -t p2r . ``` ### Authorization @@ -143,7 +143,7 @@ we'll use `rmapi` to create it. ```bash touch ${HOME}/.rmapi -docker run --rm -i -t -v "${HOME}/.rmapi:/root/.rmapi:rw" --entrypoint=rmapi paper2remarkable version +docker run --rm -i -t -v "${HOME}/.rmapi:/home/user/.rmapi:rw" --entrypoint=rmapi p2r version ``` which should end with output like @@ -156,14 +156,14 @@ rmapi version: 0.0.5 ### Usage Use the container by replacing `p2r` with `docker run --rm -v -"${HOME}/.rmapi:/root/.rmapi:rw" paper2remarkable`, e.g. +"${HOME}/.rmapi:/home/user/.rmapi:rw" p2r`, e.g. ``` # print help and exit -docker run --rm -v "${HOME}/.rmapi:/root/.rmapi:rw" paper2remarkable --help +docker run --rm -v "${HOME}/.rmapi:/home/user/.rmapi:rw" p2r --help # equivalent to above usage via `python` -docker run --rm -v "${HOME}/.rmapi:/root/.rmapi:rw" paper2remarkable -v https://arxiv.org/abs/1811.11242 +docker run --rm -v "${HOME}/.rmapi:/home/user/.rmapi:rw" p2r -v https://arxiv.org/abs/1811.11242 ``` # Notes |
