Skip to content

Commit 0f177c4

Browse files
committed
Review and update Polyglot Chat README
1 parent 623fe89 commit 0f177c4

File tree

3 files changed

+4
-13
lines changed

3 files changed

+4
-13
lines changed

polyglot-chat-app/README.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,9 @@
33
This example demonstrates how to integrate Python on GraalVM with a Micronaut application.
44
The application uses the Gradle build tool.
55

6-
### Prerequisites
7-
- [Native Image](https://www.graalvm.org/latest/reference-manual/native-image/)
8-
- [Python support](https://www.graalvm.org/latest/reference-manual/python/)
9-
106
## Preparation
117

12-
1. Download the latest GraalPy as described on [https://www.graalvm.org/python/](https://www.graalvm.org/python/). For example on Linux:
8+
1. Download and install the latest GraalPy as described in the [Getting Started guide](https://www.graalvm.org/latest/reference-manual/python/#installing-graalpy). For example on Linux:
139
```bash
1410
wget https://github.com/oracle/graalpython/releases/download/graal-23.1.1/graalpy-23.1.1-linux-amd64.tar.gz
1511
tar xzf graalpy-23.1.1-linux-amd64.tar.gz
@@ -24,14 +20,14 @@ The application uses the Gradle build tool.
2420
3. Optional: Download and install GraalVM JDK for Java 21 or later to run Python with runtime compilation and to build a native image.
2521
The demo will work on any OpenJDK distribution, but will be much faster on GraalVM JDK.
2622

27-
## Building and Running the application:
23+
## Building and Running the Application:
2824

2925
1. Build application with Gradle:
3026
```bash
3127
./gradlew run
3228
```
3329

34-
2. Navigate to http://localhost:12345/#/chat/bob
30+
2. Navigate to [http://localhost:12345/#/chat/bob](http://localhost:12345/#/chat/bob).
3531

3632
You can connect from multiple browsers and chat via websockets.
3733
The Python code will load a language model in the background.

polyglot-chat-app/build.gradle

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,4 @@ micronaut {
6565
deduceEnvironment = true
6666
optimizeNetty = true
6767
}
68-
}
69-
70-
71-
68+
}

polyglot-chat-app/settings.gradle

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
21
rootProject.name="websocket.chat"
3-

0 commit comments

Comments
 (0)