Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
terasakisatoshi committed May 27, 2020
1 parent 68e3e25 commit ee396f1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "MyWorkflow"
uuid = "7abf360e-92cb-4f35-becd-441c2614658a"
authors = ["Satoshi Terasaki <[email protected]>"]
version = "0.10.1"
version = "0.11.0"

[deps]
Atom = "c52e3926-4ff0-5f6e-af25-54175e0327b1"
Expand Down
14 changes: 10 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
[![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://terasakisatoshi.github.io/MyWorkflow.jl/dev)

- dev (master) [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/terasakisatoshi/MyWorkflow.jl/master)
- stable (v0.10.1) [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/terasakisatoshi/MyWorkflow.jl/v0.10.1)
- stable (v0.11.0) [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/terasakisatoshi/MyWorkflow.jl/v0.11.0)

- An example of workflow using Docker and GitHub Actions

Expand Down Expand Up @@ -88,7 +88,7 @@ $ tree .
### Case 1: Use Docker

```console
$ docker build -t jlatom .
$ docker build -t myworkflowjl .
```

### Case 2: Use Docker Compose
Expand All @@ -103,6 +103,12 @@ $ docker-compose build --parallel
$ make build
```

### Case 4: Use pre-built image

```
$ make pull
```

## Run Docker Container

- There are also two ways to run
Expand All @@ -112,7 +118,7 @@ $ make build
#### Initialize Julia via REPL.

```console
$ docker run --rm -it jlatom
$ docker run --rm -it myworkflowjl
_
_ _ _(_)_ | Documentation: https://docs.julialang.org
(_) | (_) (_) |
Expand All @@ -131,7 +137,7 @@ julia> hello("World")
#### Initialize Julia via Jupyter Notebook

```console
$ docker run --rm -v $PWD:/work -w /work -p 8888:8888 --name jlatom jlatom jupyter notebook --ip=0.0.0.0 --allow-root
$ docker run --rm -v $PWD:/work -w /work -p 8888:8888 --name myworkflowjl myworkflowjl jupyter notebook --ip=0.0.0.0 --allow-root
... some stuff happens
```

Expand Down

0 comments on commit ee396f1

Please sign in to comment.