Skip to content

JPro-one/HelloJPro

Folders and files

NameName
Last commit message
Last commit date
Jul 15, 2024
Aug 7, 2024
May 15, 2023
Dec 7, 2023
Apr 8, 2020
Apr 8, 2020
Dec 7, 2023
May 14, 2024
Aug 7, 2024
Aug 7, 2024
Aug 7, 2024
May 17, 2024

Repository files navigation

HelloJPro

CI Build

This project, is a hello-world for jpro, which enables javafx in the web.

Here you can see this program running.

More about JPRO:

How to start

Web Browser

Start jpro in foreground (development mode)

./gradlew jproRun

Start jpro in background (server mode)

./gradlew jproRestart

Open jpro app in Web Browser

http://localhost:8080/index.html

Show all jpro apps in Browser

http://localhost:8080/test/default

Open jpro app in fullscreen

http://localhost:8080/test/fullscreen/app-name

Deployment:

Step 1. Prepare your server

To run jpro on linux, the server must be configured correctly.

Checkout the following chapters to configure your server correctly for jpro:

DEPLOYING JPRO

PREPARING LINUX FOR JPRO

Step 2. Create the binary

Create a zip which contains the application with the following command:

./gradlew jproRelease

The path of the zip-file is the following: build/distributions/HelloJPro-jpro.zip

Now copy this file to your Server and unzip it.

Step 3. Run jpro

In the unzipped folder you can find a start-script: bin/start.sh

By running ./bin/start.sh you start the JPRO Server on your server.

The JPRO Server is now ready to server your URLs entered in your browser.

./bin/start.sh