Skip to content

Commit 7b56a87

Browse files
committed
update README.md for prerequisite and instructions t run server locally
1 parent f74e574 commit 7b56a87

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,15 +61,16 @@ The site supports 11 languages: English, Deutsch, Español, Português (Brasil),
6161
### Prerequisites
6262

6363
- **Java 25+** (e.g. [Temurin](https://adoptium.net/))
64+
- **JBang** ([Jbang](https://www.jbang.dev/))
6465

6566
### Generate and serve
6667

6768
```bash
6869
# Generate all HTML pages and data/snippets.json into site/
6970
jbang html-generators/generate.java
7071

71-
# Serve locally
72-
jwebserver -b 0.0.0.0 -d site -p 8090
72+
# Serve locally need to replace path with absolute path to site folder
73+
jwebserver -b 0.0.0.0 -d path/to/site -p 8090
7374
# Open http://localhost:8090
7475
```
7576

0 commit comments

Comments
 (0)