Skip to content

Commit 74e587c

Browse files
authored
[docs] Add manual build
1 parent 3c34751 commit 74e587c

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/deployment/installation.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,15 @@ java -jar openbas-api.jar
284284

285285
You can now go to [http://localhost:8080](http://localhost:8080) and log in with the credentials configured in your `application.properties` file.
286286

287+
#### Build the application locally
288+
289+
1. cd openbas-front yarn build
290+
2. cp -r builder/prod/* ../openbas-api/src/main/resources/static/
291+
3. cd ../openbas-api
292+
4. mvn clean install -DskipTests
293+
5. create an application.properties based on the existing one in openbas-api and fill all the mandatory fields
294+
6. run java -jar target/openbas-api.jar --spring.config.location=%PATH%\application.properties
295+
287296
## Community contributions
288297

289298
### Helm Charts

0 commit comments

Comments
 (0)