Spaces:
Running
Running
Add sample smart cell livebook to test iframes
Browse files- data/smart_cell.livemd +15 -0
data/smart_cell.livemd
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# SmartCell
|
| 2 |
+
|
| 3 |
+
```elixir
|
| 4 |
+
Mix.install([
|
| 5 |
+
{:kino_db, "~> 0.1.3"},
|
| 6 |
+
{:postgrex, "~> 0.16.3"}
|
| 7 |
+
])
|
| 8 |
+
```
|
| 9 |
+
|
| 10 |
+
## Postgres
|
| 11 |
+
|
| 12 |
+
<!-- livebook:{"attrs":{"type":"postgres","port":5432,"variable":"conn"},"kind":"Elixir.KinoDB.ConnectionCell","livebook_object":"smart_cell"} -->
|
| 13 |
+
|
| 14 |
+
```elixir
|
| 15 |
+
```
|