Skip to content
This repository has been archived by the owner on Apr 3, 2024. It is now read-only.

Add vscode debug script #116

Merged
merged 1 commit into from
Aug 30, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "--ephemeral",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "${workspaceFolder}/cmd/temporalite",
"cwd": "${workspaceFolder}",
"args": [
"start",
"--namespace",
"default",
"--ephemeral",
]
},
],
}
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ _Check out this video for a brief introduction and demo:_ [youtu.be/Hz7ZZzafBoE]
The primary goal of Temporalite is to make it simple and fast to run Temporal locally or in testing environments.

Features that align with this goal:

- Easy setup and teardown
- Fast startup time
- Minimal resource overhead: no dependencies on a container runtime or database server
Expand All @@ -41,11 +42,11 @@ Start Temporal server:
temporalite start --namespace default
```

At this point you should have a server running on `localhost:7233` and a web interface at http://localhost:8233.
At this point you should have a server running on `localhost:7233` and a web interface at <http://localhost:8233>.

### Use CLI

Use [Temporal's command line tool](https://docs.temporal.io/docs/system-tools/tctl) `tctl` to interact with the local Temporalite server.
Use [Temporal's command line tool](https://docs.temporal.io/tctl) `tctl` to interact with the local Temporalite server.

```bash
tctl namespace list
Expand Down