Packages
Brandon Pollack's basic elixir template for new projects.
Current section
Files
Jump to
Current section
Files
template/$PROJECT_NAME$/notebooks/example.livemd
# Example Workspace Livebook
```elixir
Mix.install(
[
{:kino, "~> 0.14.0"},
{:ch5, path: Path.join(__DIR__, ".."), env: :dev}
],
# config_path: :my_app, # uncomment if there is a config.exs
lockfile: :ch5
)
```
## Doit
```elixir
Kino.Process.render_seq_trace(fn ->
{ :ok, kvs } = KeyValueGenServer.start()
KeyValueGenServer.put(kvs, :abc, 123)
KeyValueGenServer.get(kvs, :abc)
end)
```