mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-11-09 21:51:42 +08:00
Mention more ways to install deps in attached mode
This commit is contained in:
parent
4a957a0232
commit
a84e9aca1f
1 changed files with 8 additions and 3 deletions
|
|
@ -266,11 +266,16 @@ Click to "Configure" the runtime and choose "Attached node". Input the
|
||||||
name and cookie as above and you should be ready to connect to it.
|
name and cookie as above and you should be ready to connect to it.
|
||||||
|
|
||||||
Note, however, that you can't install new dependencies on a connected runtime.
|
Note, however, that you can't install new dependencies on a connected runtime.
|
||||||
If you want to install dependencies, you have two options:
|
If you want to install dependencies, you have three options:
|
||||||
|
|
||||||
1. Use the Mix project approach outlined in the previous section;
|
1. Add any Livebook related to dependencies directly to the project
|
||||||
|
(you may add them to a specific environment, such as `:dev` or
|
||||||
|
`:livebook`, and then set `MIX_ENV` accordingly when starting your
|
||||||
|
application)
|
||||||
|
|
||||||
2. Use a regular notebook and use
|
2. Use the Mix project approach outlined in the previous section;
|
||||||
|
|
||||||
|
3. Use a regular notebook and use
|
||||||
[`Node.connect/1`](https://hexdocs.pm/elixir/Node.html#connect/1)
|
[`Node.connect/1`](https://hexdocs.pm/elixir/Node.html#connect/1)
|
||||||
to connect to your application.
|
to connect to your application.
|
||||||
Use [the `:erpc` module](https://www.erlang.org/doc/man/erpc.html)
|
Use [the `:erpc` module](https://www.erlang.org/doc/man/erpc.html)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue