This app is a bare-bones example of how to launch a server using Deephaven's application mode.
data/app.d
- The app mode directory. Deephaven expects this to contain at least one*.app
file.data/app.d/app.app
- The app mode config file. This defines what type of script to run on launch.data/app.d/init.groovy
- The Groovy script to run on launch.docker-compose.yml
- The docker-compose file for the application. This is mostly the same as the Deephaven docker-compose file, but with modifications to run app mode, specifically the-Ddeephaven.application.dir=/app.d
flag being set on theserver
image.
This app launches a Deephaven server and initializes it with a table containing 5 numbers.
- The Deephaven-core dependencies are required for this project.
Simply run the following to launch the app:
docker-compose up
Go to http://localhost:10000/ide to view the table in the top right Panels tab!
The code in this repository is built for Deephaven Community Core v0.11.0. No guarantee of forward or backward compatibility is given.