Skip to content
/ HelloJPro Public template
forked from JPro-one/HelloJPro

HelloWorld for JPro using Gradle with Groovy

Notifications You must be signed in to change notification settings

ctoabidmaqbool1/HelloJPro

 
 

Repository files navigation

HelloJPro

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

About

HelloWorld for JPro using Gradle with Groovy

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 82.8%
  • HTML 10.0%
  • CSS 7.2%