Skip to content

Commit 2190781

Browse files
committed
update readme
1 parent 60e0853 commit 2190781

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ compile:
1212
npx tsp compile ./typespec/js-playwright/main.tsp --output-dir "./tsp-output/js-playwright"
1313

1414
dev:
15-
docker run -v ./custom-server:/custom-server -p $(PORT):$(PORT) $(IMAGE_ID)
15+
docker run -e PORT=$(PORT) -v ./custom-server:/custom-server -p $(PORT):$(PORT) $(IMAGE_ID)
1616

1717
start:
1818
prism mock -m -p 4011 --host 0.0.0.0 ./tsp-output/http-api/@typespec/openapi3/openapi.1.0.yaml &

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,16 @@ https://twirl.github.io/The-API-Book/API.ru.html
22

33
## Prerequisites
44

5-
* Nodejs 20+
6-
* Ubuntu/Macos
75
* Make
8-
* Docker (for deploy)
6+
* Docker
97

108
## Commands
119

1210
See [Makefile](./Makefile)
1311

1412
```bash
15-
make setup
16-
make dev # Open http://localhost:8080
13+
make docker-build
14+
make docker-run # Open http://localhost:8080
1715
```
1816

1917
---

0 commit comments

Comments
 (0)