Clarify examples

This commit is contained in:
José Valim 2023-02-10 20:48:09 +01:00
parent b9e4de68c9
commit 8c9c3ce94d

View file

@ -234,9 +234,16 @@ The following environment variables configure Livebook:
When running Livebook Desktop, Livebook will invoke on boot a file named When running Livebook Desktop, Livebook will invoke on boot a file named
`~/.livebookdesktop.sh` on macOS or `%USERPROFILE%\.livebookdesktop.bat` `~/.livebookdesktop.sh` on macOS or `%USERPROFILE%\.livebookdesktop.bat`
on Windows. This file can set environment variables used by Livebook, on Windows. This file can set environment variables used by Livebook,
such as [the `PATH` environment variable](https://en.wikipedia.org/wiki/PATH_(variable)), such as:
or to configure the Erlang VM, for instance, by setting
`ERL_AFLAGS="-proto_dist inet6_tcp"` if you need Livebook to run over IPv6. * [the `PATH` environment variable](https://en.wikipedia.org/wiki/PATH_(variable))
* set `LIVEBOOK_DISTRIBUTION=name` to enable notebooks to communicate
with nodes in other machines
* or to configure the Erlang VM, for instance, by setting
`ERL_AFLAGS="-proto_dist inet6_tcp"` if you need Livebook to run over IPv6
Be careful when modifying said files, Livebook may be unable to start if Be careful when modifying said files, Livebook may be unable to start if
configured incorrectly. configured incorrectly.