Skip to content
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
6 changes: 5 additions & 1 deletion golang/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ This starter application consists of two parts:

## Quick start

Install [`Air`](https://github.com/air-verse/air#installation) to allow live
reloading your long-running applications. This is installed automatically
if you use have followed [the instructions to configure your development environment](../README.md#your-development-environment).

### Workflow

```shell
Expand All @@ -42,7 +46,7 @@ air
```

The workflow is a long-running application. For rapid development, the recommendation
is to use [air](https://github.com/air-verse/air).
is to use [Air](https://github.com/air-verse/air).

You can also run this with `go run ./worker` and restarting after every code change.

Expand Down
2 changes: 2 additions & 0 deletions python/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.venv
__pycache__
.ruff_cache
*.egg
*.egg-info/
7 changes: 7 additions & 0 deletions python/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM python:3.12 AS builder
RUN useradd -m -u 1000 python
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
USER python
WORKDIR /home/python/app
COPY --chown=python:python . .
CMD [ "uv", "run", "poe", "dev" ]
35 changes: 35 additions & 0 deletions python/compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
include:
- ../compose.yaml

services:
starter:
build:
context: .
target: builder
environment:
TEMPORAL_ADDRESS: temporal:7233
volumes:
- .:/home/python/app
links:
- temporal
depends_on:
worker:
condition: service_started
temporal:
condition: service_healthy
entrypoint: uv
command: run src/starter.py

worker:
build:
context: .
target: builder
environment:
TEMPORAL_ADDRESS: temporal:7233
volumes:
- .:/home/python/app
links:
- temporal
depends_on:
temporal:
condition: service_healthy
7 changes: 7 additions & 0 deletions typescript/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,13 @@ This starter application consists of two parts:

## Quick start

Install dependencies using `npm`:

```sh
cd typescript
npm ci
```

### Workflow

```shell
Expand Down
Loading