Skip to content

Sandec/JPro-MD-Demo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HelloJPro-Gradle

Build Status

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

This project is using gradle. If you want to use maven, take a look at HelloJPro-Maven

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Scala 48.9%
  • Java 40.9%
  • HTML 6.1%
  • CSS 4.1%