Skip to content

Commit edddc4e

Browse files
Update README (#7)
1 parent 52a99c3 commit edddc4e

1 file changed

Lines changed: 13 additions & 4 deletions

File tree

README.md

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ These samples demonstrate various capabilities of Java Temporal client and serve
2929

3030
Run the following commands:
3131

32-
git clone https://github.com/temporalio/temporal-java-samples
33-
cd temporal-java-samples
32+
git clone https://github.com/temporalio/temporal-java-samples
33+
cd temporal-java-samples
3434

3535
## Import into IntelliJ
3636

@@ -47,8 +47,8 @@ choose **Gradle** and then click **Next**->**Finish**.
4747

4848
Run Temporal Server using Docker Compose:
4949

50-
curl -O https://raw.githubusercontent.com/temporalio/temporal/master/docker/docker-compose.yml
51-
docker-compose up
50+
curl -L https://github.com/temporalio/temporal/releases/download/v0.21.1/docker.tar.gz | tar -xz --strip-components 1 docker/docker-compose.yml
51+
docker-compose up
5252

5353
If this does not work, see the instructions for running Temporal Server at https://github.com/temporalio/temporal/blob/master/README.md.
5454

@@ -116,3 +116,12 @@ To run:
116116

117117
The produced exception trace is part of the sample, so don't get confused by it.
118118

119+
### Notes for MacOSX Users
120+
Due to issues with default hostname resolution (see https://stackoverflow.com/questions/33289695/inetaddress-getlocalhost-slow-to-run-30-seconds), MacOSX Users may see gRPC DEADLINE_EXCEEDED errors in normal operation.
121+
122+
This can be solved by adding the following entries to your `/etc/hosts` file (where my-macbook is your hostname):
123+
124+
```conf
125+
127.0.0.1 my-macbook
126+
::1 my-macbook
127+
```

0 commit comments

Comments
 (0)