Skip to content

Run Ananas Desktop from source

Bo HOU edited this page Jul 28, 2019 · 2 revisions

Run runner from source

If you only need to execute job locally, put any value to filesToStage system property.

gradle :runner:run -DfilesToStage=mock.jar

If you want to execute job on Dataflow.

  1. build command line jar
./build-cli.sh [JDK 8 HOME]
  1. run runner with the created jar file as filesToStage system property
gradle :runner:run -DfilesToStage=[./cli/[created jar file]]

Run UI from source

First install ui dependencies

cd ui
yarn install

Run UI with gradle

gradle :ui:run

Run UI with yarn

Package renderer

yarn webpack

Package main

yarn webpack-main

Run the application

webpack start