Spaces:
Runtime error
Runtime error
Commit
·
9e9c1f0
1
Parent(s):
b21c366
add gitignore fix readme and test editing
Browse files- .gitignore +1 -0
- README.md +21 -1
- public-apps/welcome.livemd +1 -1
.gitignore
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
data/livebook_config.ets
|
README.md
CHANGED
@@ -8,4 +8,24 @@ fullWidth: true
|
|
8 |
duplicated_from: livebook-dev/livebook
|
9 |
---
|
10 |
|
11 |
-
You can install and run [Livebook](https://livebook.dev/) inside a Hugging Face Space. Here's [a tutorial](https://huggingface.co/docs/hub/spaces-sdks-docker-livebook) on how to do that.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
duplicated_from: livebook-dev/livebook
|
9 |
---
|
10 |
|
11 |
+
You can install and run [Livebook](https://livebook.dev/) inside a Hugging Face Space. Here's [a tutorial](https://huggingface.co/docs/hub/spaces-sdks-docker-livebook) on how to do that.
|
12 |
+
|
13 |
+
to docker:
|
14 |
+
```sh
|
15 |
+
docker build -t scrum-master-bot .
|
16 |
+
|
17 |
+
docker run \
|
18 |
+
-e LIVEBOOK_APPS_PATH="/public-apps" \
|
19 |
+
-e LIVEBOOK_DATA_PATH="/data" \
|
20 |
+
-e LIVEBOOK_PORT=7860 \
|
21 |
+
-p 7860:7860 \
|
22 |
+
-v ./data:/data \
|
23 |
+
-v ./public-apps:/public-apps \
|
24 |
+
-w /public-apps \
|
25 |
+
scrum-master-bot
|
26 |
+
```
|
27 |
+
|
28 |
+
to livebook
|
29 |
+
```sh
|
30 |
+
LIVEBOOK_APPS_PATH="$(pwd)/public-apps" LIVEBOOK_DATA_PATH="$(pwd)/data" LIVEBOOK_PORT=7860 livebook server
|
31 |
+
```
|
public-apps/welcome.livemd
CHANGED
@@ -8,7 +8,7 @@ Mix.install([
|
|
8 |
])
|
9 |
```
|
10 |
|
11 |
-
##
|
12 |
|
13 |
This is the source of a deployed notebook.
|
14 |
This notebook is static and simply renders the markdown content below.
|
|
|
8 |
])
|
9 |
```
|
10 |
|
11 |
+
## Section1
|
12 |
|
13 |
This is the source of a deployed notebook.
|
14 |
This notebook is static and simply renders the markdown content below.
|