Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Commit d482c69

Browse files
l2Dirfanpena
authored andcommitted
chore: Add Swagger UI Log Message and Update README.md with API Access Information (#749)
Signed-off-by: l2D <20911264+l2D@users.noreply.github.com>
1 parent 6cbcb49 commit d482c69

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,15 @@ cortex run llama3
3535
To run Cortex as an API server:
3636
```bash
3737
cortex serve
38+
39+
# Output
40+
# Started server at http://localhost:1337
41+
# Swagger UI available at http://localhost:1337/api
3842
```
3943

44+
You can now access the Cortex API server at `http://localhost:1337`,
45+
and the Swagger UI at `http://localhost:1337/api`.
46+
4047
## Build from Source
4148

4249
To install Cortex from the source, follow the steps below:

cortex-js/src/main.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ async function bootstrap() {
1212

1313
await app.listen(port, host);
1414
console.log(`Started server at http://${host}:${port}`);
15+
console.log(`Swagger UI available at http://${host}:${port}/api`);
1516
}
1617

1718
bootstrap();

0 commit comments

Comments
 (0)