Packages

Brandon Pollack's basic elixir template for new projects.

Current section

Files

Jump to
bpollack_elixir_template template $PROJECT_NAME$ notebooks example.livemd
Raw

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)
```