Skip to content

Commit b24c72d

Browse files
authored
Add some hints for java devs (#3282)
* Add some hints for java devs * Fix spell check
1 parent 04f1e6a commit b24c72d

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

frontend/README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ $ cd frontend
1212
$ ./gradlew -p frontend clean assemble
1313
```
1414

15-
And you can build and test the front by running
15+
And you can build and test the frontend by running
1616

1717
```sh
1818
$ cd frontend
@@ -21,6 +21,14 @@ $ ./gradlew build
2121

2222
You will find a jar file in frontend/server/build/libs file.
2323

24+
To continuously test your frontend changes during development (e.g. through out pytest integration tests in test/pytest) without continuously reinstalling TS you can create a symbolic link (ln -s) from ts/frontend/model-server.jar to frontend/server/build/libs/server-1.0.jar. That way you changes get picked up (after calling `./gradlew -p frontend clean assemble`) when you start TS.
25+
26+
When you create a PR with your changes it can happen that you see a formatting error during the CI testing.
27+
To fix the format simply run this command and commit the changes:
28+
```sh
29+
$ cd frontend
30+
$ ./gradlew format
31+
```
2432
### Starting frontend
2533

2634
Frontend web server using a configuration file to control the behavior of the frontend web server.

ts_scripts/spellcheck_conf/wordlist.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1294,3 +1294,4 @@ StableDiffusionXL
12941294
photorealistic
12951295
miniconda
12961296
torchaudio
1297+
ln

0 commit comments

Comments
 (0)