Add notes about running latest Livebook with Escript and Docker (#395)

This commit is contained in:
Jonatan Kłosko 2021-06-24 18:02:24 +02:00 committed by GitHub
parent 0e6443a21b
commit 2cded9f27d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -68,6 +68,13 @@ Elixir keeps escripts to your [$PATH](https://en.wikipedia.org/wiki/PATH_(variab
If you installed Elixir with `asdf`, you'll need to run `asdf reshim elixir` If you installed Elixir with `asdf`, you'll need to run `asdf reshim elixir`
once the escript is built. once the escript is built.
To try out features from the main branch you can alternatively
install the escript directly from GitHub like this:
```shell
mix escript.install github elixir-nx/livebook
```
### Docker ### Docker
Running Livebook using Docker is a great option for cloud deployments Running Livebook using Docker is a great option for cloud deployments
@ -88,6 +95,10 @@ docker run -p 8080:8080 -u $(id -u):$(id -g) -v <LOCAL_DIR>:/data livebook/liveb
docker run -p 8080:8080 -e LIVEBOOK_PASSWORD="securesecret" livebook/livebook docker run -p 8080:8080 -e LIVEBOOK_PASSWORD="securesecret" livebook/livebook
``` ```
To try out features from the main branch you can alternatively
use the `livebook/livebook:edge` image.
See [Livebook on Docker Hub](https://hub.docker.com/r/livebook/livebook/tags?page=1&ordering=last_updated).
### Mix ### Mix
You can run latest Livebook directly with Mix. You can run latest Livebook directly with Mix.