This project helps you to use JPro, when you have only the Jars of your application.
This might be useful for those developer, who use their IDE directly, and don't want to convert their original project into a Maven or Gradle project.
Put your Jars into the folder ./libs
.
It can be either a single fat jar, or the jars of your application with it's libraries.
Change the main class in the file gradle.properties
On Mac/Linux, run the following command: ./gradlew jproRun
.
On Windows, run the following command: ./gradlew.bat jproRun
.
After some time, the browser should open automatically.
src/main/resources/jpro.conf
and add multiple main classes. Take a look at our documentation.1
. Prepare your serverTo run JPro on linux, the server must be configured correctly.
Checkout the following chapters to configure your server correctly for JPro:
2
. Create the binaryCreate 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.
3
. Run JProIn 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