Skip to content

Commit fb91b24

Browse files
committed
Update README.md
1 parent 7ac7698 commit fb91b24

File tree

1 file changed

+14
-9
lines changed

1 file changed

+14
-9
lines changed

polyglot-chat-app/README.md

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,26 +6,31 @@ The application uses the Gradle build tool.
66
## Preparation
77

88
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:
9-
```bash
10-
wget https://github.com/oracle/graalpython/releases/download/graal-23.1.1/graalpy-23.1.1-linux-amd64.tar.gz
11-
tar xzf graalpy-23.1.1-linux-amd64.tar.gz
12-
```
9+
```bash
10+
wget https://github.com/oracle/graalpython/releases/download/graal-23.1.1/graalpy-23.1.1-linux-amd64.tar.gz
11+
tar xzf graalpy-23.1.1-linux-amd64.tar.gz
12+
```
1313

1414
2. Install the required packages for this demo into the _resources_ directory:
1515
```bash
1616
graalpy-23.1.1-linux-amd64/bin/graalpy -m venv src/main/resources/venv
17+
```
18+
```bash
1719
src/main/resources/venv/bin/graalpy -m pip install nltk
1820
```
21+
```bash
22+
src/main/resources/venv/bin/graalpy -c "import nltk; nltk.download('vader_lexicon')"
23+
```
1924

20-
3. Optional: Download and install GraalVM JDK for Java 21 or later to run Python with runtime compilation and to build a native image.
21-
The demo will work on any OpenJDK distribution, but will be much faster on GraalVM JDK.
25+
3. (Optional) Download and install GraalVM JDK for Java 21 or later to run Python with runtime compilation and to build a native image.
26+
The demo will work on any OpenJDK distribution, but will be much faster on GraalVM JDK.
2227

2328
## Building and Running the Application:
2429

2530
1. Build application with Gradle:
26-
```bash
27-
./gradlew run
28-
```
31+
```bash
32+
./gradlew run
33+
```
2934

3035
2. Navigate to [http://localhost:12345/#/chat/bob](http://localhost:12345/#/chat/bob).
3136

0 commit comments

Comments
 (0)