Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 4 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,17 +130,13 @@ More info about **ttyd** can be found at: [ttyd](https://github.com/tsl0922/ttyd

##### Steps

1. From the project root directory run command:
1. From the `build/application` directory run the following command:

java -jar build/application/target/dirigible-application-*.jar

> for Windows

java -jar build/application/target/$((Get-ChildItem dirigible-application-*.jar -recurse -File | Sort-Object LastWriteTime | Select -Last 1).BaseName).jar
mvn spring-boot:run

3. In case you want to debug the application run:

java -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8000 -jar build/application/target/dirigible-application-*.jar
mvn spring-boot:run -Dspring-boot.run.jvmArguments="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000"

4. Open a web browser and go to: [http://localhost:8080](http://localhost:8080 "http://localhost:8080")
5. Login with user: `admin` and password `admin`
Expand Down Expand Up @@ -227,4 +223,4 @@ Unicons by IconScout: [https://github.com/Iconscout/unicons](https://github.com/
- Slack: [https://slack.dirigible.io](https://slack.dirigible.io)
- Mailing List: [https://dev.eclipse.org/mailman/listinfo/dirigible-dev](https://dev.eclipse.org/mailman/listinfo/dirigible-dev)
- Issues: [https://github.com/eclipse/dirigible/issues](https://github.com/eclipse/dirigible/issues)
- Eclipse Foundation Help Desk: https://gitlab.eclipse.org/eclipsefdn/helpdesk
- Eclipse Foundation Help Desk: https://gitlab.eclipse.org/eclipsefdn/helpdesk
4 changes: 3 additions & 1 deletion build/application/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,6 @@ RUN npm i -g esbuild
RUN npm i -g typescript

COPY target/*.jar dirigible.jar
ENTRYPOINT ["java","-jar","/dirigible.jar"]
RUN jar -xf dirigible.jar
RUN rm -rf dirigible.jar
ENTRYPOINT ["java", "org.springframework.boot.loader.JarLauncher"]
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ public static Engine getOrCreateDebuggableEngine() {
}

private static Engine.Builder getDefaultEngineBuilder() {
System.setProperty("polyglotimpl.DisableClassPathIsolation", "true");
return Engine.newBuilder()
.allowExperimentalOptions(true)
.out(outputStream())
Expand Down