Skip to content

Commit

Permalink
Add some hints for java devs (#3282)
Browse files Browse the repository at this point in the history
* Add some hints for java devs

* Fix spell check
  • Loading branch information
mreso authored Aug 7, 2024
1 parent 04f1e6a commit b24c72d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
10 changes: 9 additions & 1 deletion frontend/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ $ cd frontend
$ ./gradlew -p frontend clean assemble
```

And you can build and test the front by running
And you can build and test the frontend by running

```sh
$ cd frontend
Expand All @@ -21,6 +21,14 @@ $ ./gradlew build

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

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.

When you create a PR with your changes it can happen that you see a formatting error during the CI testing.
To fix the format simply run this command and commit the changes:
```sh
$ cd frontend
$ ./gradlew format
```
### Starting frontend

Frontend web server using a configuration file to control the behavior of the frontend web server.
Expand Down
1 change: 1 addition & 0 deletions ts_scripts/spellcheck_conf/wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1294,3 +1294,4 @@ StableDiffusionXL
photorealistic
miniconda
torchaudio
ln

0 comments on commit b24c72d

Please sign in to comment.