diff --git a/Dockerfile b/Dockerfile index 89ffe30a..178f5cec 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,6 +4,10 @@ FROM node:18.19.0-bookworm RUN apt-get update && apt-get install -y libxkbfile-dev libsecret-1-dev openjdk-17-jre WORKDIR /usr/src/app + +ENV PUPPETEER_SKIP_DOWNLOAD=true + + # Create app directory COPY open-bpmn.glsp-client/ ./open-bpmn.glsp-client/ # Build GLSP Client part diff --git a/src/site/markdown/vs-code.md b/src/site/markdown/vs-code.md new file mode 100644 index 00000000..1f7d9926 --- /dev/null +++ b/src/site/markdown/vs-code.md @@ -0,0 +1,29 @@ +# VS-Code + +To run Open-BPMN in Visual Studio Code you can install the [Open BPMN Extension](https://marketplace.visualstudio.com/items?itemName=open-bpmn.open-bpmn-vscode-extension). Just go to 'Extensions' and search for 'Open-BPMN' + +Open-BPMN for VS-Code is based on JDK 17. Make sure that you have installed Visual Studio Code and Java version 17 or a higher + +To install Java 17 or a higher version, you can download it from the [Microsoft Download Page](https://learn.microsoft.com/en-us/java/openjdk/download) or you can install it from your operating system's package manager. If you have any questions you will find help in the [Open-BPMN Discussion Forum](https://github.com/imixs/open-bpmn/discussions). + + + +## Compare .bpmn files with Text-Diff Editor + +To compare different versions of .bpmn files in the text-diff editor of VS-Code, you can overwrite the editorAssociations in the workbench settings. + +1. Open Settings ( Ctrl + , ) and search for editorAssociations +2. You will see the .bpmn associations where you can add a new option for Git:’ + +``` +Item = {git,gitlens}:/**/*.{bpmn,bpmn2} +Value = default +``` + + + + +Now BPMN files will always be opened in a git file compare with text editor per default + + + \ No newline at end of file diff --git a/src/site/resources/images/vscode-bpmn-diff-editor-768x322.png b/src/site/resources/images/vscode-bpmn-diff-editor-768x322.png new file mode 100644 index 00000000..5b8b7beb Binary files /dev/null and b/src/site/resources/images/vscode-bpmn-diff-editor-768x322.png differ diff --git a/src/site/resources/images/vscode-bpmn-diff-editor-compare-view.png b/src/site/resources/images/vscode-bpmn-diff-editor-compare-view.png new file mode 100644 index 00000000..baf40f44 Binary files /dev/null and b/src/site/resources/images/vscode-bpmn-diff-editor-compare-view.png differ diff --git a/src/site/site.xml b/src/site/site.xml index 480c835c..c8047557 100644 --- a/src/site/site.xml +++ b/src/site/site.xml @@ -16,6 +16,7 @@ +