Skip to content

Commit c931761

Browse files
authored
fix: minor quickstart issues (#2807)
1 parent a023396 commit c931761

File tree

4 files changed

+11
-4
lines changed

4 files changed

+11
-4
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Trigger a workflow (in another terminal):
2+
```sh
3+
hatchet trigger simple
4+
```

cmd/hatchet-cli/cli/templates/python/shared/hatchet.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ dev:
66
preCmds: ["uv venv --allow-existing", "uv pip install -e ."]
77
runCmd: "uv run python src/worker.py"
88
{{- else if eq .PackageManager "pip"}}
9-
preCmds: ["python -m venv .venv 2>/dev/null || true", ".venv/bin/pip install -r requirements.txt"]
9+
preCmds: ["python -m venv .venv", ".venv/bin/pip install -r requirements.txt"]
1010
runCmd: ".venv/bin/python src/worker.py"
1111
{{- end}}
1212
files:
1313
- "**/*.py"
1414
- "!**/__pycache__/**"
15-
- "!**/.venv/**"
15+
- "!.venv/**"
1616
reload: true
1717
triggers:
1818
- name: "simple"

cmd/hatchet-cli/cli/templates/typescript/pnpm/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,5 @@
1717
},
1818
"dependencies": {
1919
"@hatchet-dev/typescript-sdk": "^1.10.3"
20-
},
21-
"packageManager": "[email protected]+sha512.b2dc20e2fc72b3e18848459b37359a32064663e5627a51e4c74b2c29dd8e8e0491483c3abb40789cfd578bf362fb6ba8261b05f0387d76792ed6e23ea3b1b6a0"
20+
}
2221
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Trigger a workflow (in another terminal):
2+
```sh
3+
hatchet trigger simple
4+
```

0 commit comments

Comments
 (0)