Skip to content

Commit aabeca0

Browse files
committed
chore: update demo README
1 parent a43607c commit aabeca0

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

examples/aws-demo/README.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# AWS S3 Demo
22

3-
End-to-end test of the generated S3 client against a mock S3 server (Moto).
3+
End-to-end test of the generated S3 client against a mock S3 server (LocalStack).
44

55
## Prerequisites
66

@@ -10,26 +10,25 @@ End-to-end test of the generated S3 client against a mock S3 server (Moto).
1010
## Quick Start
1111

1212
```bash
13-
make docker/test
13+
make test
1414
```
1515

1616
This will:
1717
1. Generate Unison code from Smithy model
1818
2. Install UCM locally (from GitHub releases, same version as Docker)
1919
3. Compile all Unison code locally
20-
4. Build Docker containers
21-
5. Run the compiled demo
20+
4. Start LocalStack in docker
21+
5. Create the stack with terraform against LocalStack endpoint
22+
6. Run the compiled demo
2223

2324
The demo will execute functions from the generated `s3_client` against a mocked S3 bucket
2425

25-
Reference: [Moto - Mock AWS Services](https://github.com/getmoto/moto)
26-
2726
```shell
2827
╔══════════════════════════════════════════╗
29-
║ S3 Client Demo (Moto Backend)
28+
║ S3 Client Demo (LocalStack Backend) ║
3029
╚══════════════════════════════════════════╝
3130

32-
Endpoint: http://moto:5050
31+
Endpoint: http://localhost:4566
3332
Region: us-east-1
3433
Bucket: us-east-1-nonprod-configs
3534

examples/aws-demo/src/main.u

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ main = do
7070
runDemo : '{IO, Exception, Threads} ()
7171
runDemo = do
7272
printLine "╔══════════════════════════════════════════╗"
73-
printLine "║ S3 Client Demo (Moto Backend) ║"
73+
printLine "║ S3 Client Demo (LocalStack Backend) ║"
7474
printLine "╚══════════════════════════════════════════╝"
7575
printLine ""
7676

0 commit comments

Comments
 (0)