Skip to content

Commit 03b8434

Browse files
committed
Update readme for install requirements
1 parent fbd0259 commit 03b8434

File tree

2 files changed

+36
-6
lines changed

2 files changed

+36
-6
lines changed

.config/README.md.template

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,24 @@ In this context, a runbook is a mixture of markdown and executable code that con
2828
1. Plan that runbook for a specific run `runbook plan runbook-name.ipynb --embed file.json --parameters '{"arg": 1, "foo": "baz"}'
2929
1. Run the instance of a runbook with either `runbook run runbook-name.ipynb` or use VSCode to run it `code runbooks/run/runbook-name.ipynb`
3030

31+
## Installation
32+
33+
We recommend using [uv](https://docs.astral.sh/uv/) or [pipx](https://pypi.org/project/pipx/) for installing runbook as a cli tool.
34+
35+
```sh
36+
uv tool install git+https://github.com/zph/runbook.git
37+
# or
38+
pipx install git+https://github.com/zph/runbook.git
39+
```
40+
41+
Or pin to a version
42+
43+
```sh
44+
uv tool install git+https://github.com/zph/runbook.git@v0.0.1
45+
46+
pipx install git+https://github.com/zph/runbook.git@v0.0.1
47+
```
48+
3149
## CLI
3250

3351
```sh
@@ -73,9 +91,6 @@ long as executions run through `runbook run ...` command
7391
## Deno / Typescript
7492
1. Parameter cells should use `let` declarations to allow for param overriding
7593
- This is required to correctly support executing the ts version of notebooks.
76-
1. Confirm/prompt functions always return false in notebooks due to lack of support
77-
in deno kernel. We may invest in upstreaming a patch to support this as it has support
78-
in python notebooks
7994

8095
# Readme Changes
8196

README.md

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,24 @@ In this context, a runbook is a mixture of markdown and executable code that con
2828
1. Plan that runbook for a specific run `runbook plan runbook-name.ipynb --embed file.json --parameters '{"arg": 1, "foo": "baz"}'
2929
1. Run the instance of a runbook with either `runbook run runbook-name.ipynb` or use VSCode to run it `code runbooks/run/runbook-name.ipynb`
3030

31+
## Installation
32+
33+
We recommend using [uv](https://docs.astral.sh/uv/) or [pipx](https://pypi.org/project/pipx/) for installing runbook as a cli tool.
34+
35+
```sh
36+
uv tool install git+https://github.com/zph/runbook.git
37+
# or
38+
pipx install git+https://github.com/zph/runbook.git
39+
```
40+
41+
Or pin to a version
42+
43+
```sh
44+
uv tool install git+https://github.com/zph/runbook.git@v0.0.1
45+
46+
pipx install git+https://github.com/zph/runbook.git@v0.0.1
47+
```
48+
3149
## CLI
3250

3351
```sh
@@ -90,9 +108,6 @@ long as executions run through `runbook run ...` command
90108
## Deno / Typescript
91109
1. Parameter cells should use `let` declarations to allow for param overriding
92110
- This is required to correctly support executing the ts version of notebooks.
93-
1. Confirm/prompt functions always return false in notebooks due to lack of support
94-
in deno kernel. We may invest in upstreaming a patch to support this as it has support
95-
in python notebooks
96111

97112
# Readme Changes
98113

0 commit comments

Comments
 (0)