mirror of
https://github.com/livebook-dev/livebook.git
synced 2024-12-26 17:33:44 +08:00
Add notes about running latest Livebook with Escript and Docker (#395)
This commit is contained in:
parent
0e6443a21b
commit
2cded9f27d
1 changed files with 11 additions and 0 deletions
11
README.md
11
README.md
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue