/berlioz-base

A minimal Berlioz Web app to use as a base

Primary LanguageXSLTOtherNOASSERTION

Berlioz base

A minimal Berlioz Web application to use as a base for your project and following the recommended guidelines for Berlioz.

Setup

You can start using Berlioz with minimal setup. All you really need is to download it and have Java JDK 8 installed on your machine.

You can download Java from Oracle or get the OpenJDK if you're on Linux or MacOS.

You can simply download the zip, or use a Git client to get a copy of the Berlioz base repository.

If you already have Git installed, use the following command:

 $ git clone https://github.com/pageseeder/berlioz-base.git
 $ cd berlioz-base

Usage

This project includes a Gradle wrapper to start the application.

Gradle will automaticallly download all dependencies, including Jetty and start the Web application (be patient the first time!).

You can start the Berlioz with:

 $ gradlew run

When Berlioz starts it will print the following on the console:

[BERLIOZ_INIT] ===============================================================
[BERLIOZ_INIT] Initialing Berlioz 0.10.2...

...

[BERLIOZ_INIT] Done!
[BERLIOZ_INIT] ===============================================================

You can then access the app at:

Troubleshooting

If Gradle is unable to compile the classes, make sure that the default Java home is a JDK and not only the JRE.

If Gradle is unable to start Jetty, make sure that the ports 8099 and 8444 are available.