Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: jeromecambon <jerome.cambon@bonitasoft.com>
Co-authored-by: Souchet Céline <4921914+csouchet@users.noreply.github.com>
  • Loading branch information
3 people authored Jun 25, 2024
1 parent 2b1d0c3 commit 89b68e0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Once the design is complete, export the application(s) from Bonita UI Builder by

=== Store Your Application in a Workspace Folder

Place the exported application(s) in a designated `workspace` folder. This folder will be referenced during the build process.
Move the exported application(s) (json files) in a designated `workspace` folder. This folder will be referenced during the build process.
You can store these applications in a Git repository too.

=== Build the Production Binary
Expand All @@ -48,7 +48,7 @@ Once Bonita UI Builder is ready, all applications contained in the dedicated fol
- Published
- Made available for users

Then, these applications can be accessed from the Bonita application directory
Then, these applications can be accessed from the Bonita administrator application, application directory page.

[.troubleshooting-title]
== image:ROOT:images/troubleshooting.png[troubleshooting-icon] Troubleshooting
Expand All @@ -62,6 +62,6 @@ After building and running the Bonita UI Builder, at least one application are m
The application is on error and the Bonita UI Builder is not able to import and deploy the application.

[.solution]#Solution#
Check the log of the bonita-ui-builder container with `docker logs <container-name>` to find with application is on error.
Check the log of the bonita-ui-builder container with `docker logs <container-name>` to find which application is on error.
Then fix your application and be sure your export are compatible and a valid JSON.
--
6 changes: 3 additions & 3 deletions modules/applications/pages/production-packaging.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ NOTE: Before starting, ensure you have **Docker** the following tools installed
include::example$Dockerfile[]
----

* From Bonita UI Builder , export all applications and store them in the an `workspace` folder next to the Dockerfile.
* From Bonita UI Builder , export all applications and store them in the `workspace` folder next to the Dockerfile.

NOTE: You can name the folder as you want and store it where you want, but you need to update the `WORKSPACE` build argument with the new path folder.
NOTE: You can change the default `workspace` folder and use any folder, but in this case use the `WORKSPACE` build argument with the new folder path.

To build the production binary docker image you have two poss

=== Default build command

With this command, the image will be built with the default values define in the Dockerfile.
With this command, the image will be built with the default values defined in the Dockerfile.

WARNING: If you use this command, be sure to have the `workspace` folder next to the Dockerfile.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ This guide provides instructions on how to configure the `bonita-ui-builder` Do
[[environment-variables]]
== Docker container Environment variables

This following environment variable are mandatory:
The following environment variable is mandatory:

- `BONITA_API_URL`: The URL for the Bonita API.

This following environment variable are optional:
The following environment variables are optional:

- `BONITA_DEV_MODE`: Enables user to development mode when set to `1`.
- `LOGGING_LEVEL_ROOT`: Sets the logging level for the root logger. (default is `debug`)
Expand All @@ -30,5 +30,5 @@ I can't access to the Bonita UI Builder.
The Bonita UI Builder is not correctly configured.

[.solution]#Solution#
Check the environment variables and make sure they are correctly set. The Bonita_API_URL should target a valid Bonita Runtime.
Check the environment variables and make sure they are correctly set. The `BONITA_API_URL` should target a valid Bonita Runtime.
--

0 comments on commit 89b68e0

Please sign in to comment.