Skip to content

deephaven-examples/app-mode-init-groovy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AppModeInit

This app is a bare-bones example of how to launch a server using Deephaven's application mode.

How it works

Components

  • 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 the server image.

High level overview

This app launches a Deephaven server and initializes it with a table containing 5 numbers.

Dependencies

Launch

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!

Note

The code in this repository is built for Deephaven Community Core v0.11.0. No guarantee of forward or backward compatibility is given.

About

Simple Groovy app mode example

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages