From 309d84fbb76270e2e8498378cc75cc20cb1c3418 Mon Sep 17 00:00:00 2001 From: Damien Coraboeuf Date: Sun, 22 Nov 2020 15:52:48 +0100 Subject: [PATCH] #822 JAR installation --- .../src/docs/asciidoc/installation-jar.adoc | 40 +++++++++++++++++++ .../src/docs/asciidoc/installation.adoc | 31 -------------- 2 files changed, 40 insertions(+), 31 deletions(-) create mode 100644 ontrack-docs/src/docs/asciidoc/installation-jar.adoc diff --git a/ontrack-docs/src/docs/asciidoc/installation-jar.adoc b/ontrack-docs/src/docs/asciidoc/installation-jar.adoc new file mode 100644 index 00000000000..212aca173f8 --- /dev/null +++ b/ontrack-docs/src/docs/asciidoc/installation-jar.adoc @@ -0,0 +1,40 @@ +[[installation-jar]] +=== JAR installation + +Ontrack can be downloaded as a JAR and started as a JVM application. + +To run Ontrack, you need to make sure that the minimal <> are available: + +* Postgres +* Elasticsearch + +[IMPORTANT] +==== +You need a JDK 11 or better to run Ontrack. +==== + +Download the JAR from the +https://github.com/nemerosa/ontrack/releases[Ontrack release page]. + +Start it using: + +[source,bash] +---- +java -jar ontrack.jar +---- + +<> can be passed on the command line, either: + +* using system properties: + +[source,bash] +---- +-Dspring.datasource.url=... +---- + +* or environment variables: + +[source,bash] +---- +SPRING_DATASOURCE_URL=... java ... +---- diff --git a/ontrack-docs/src/docs/asciidoc/installation.adoc b/ontrack-docs/src/docs/asciidoc/installation.adoc index e6ee58f87a8..c31282b520f 100644 --- a/ontrack-docs/src/docs/asciidoc/installation.adoc +++ b/ontrack-docs/src/docs/asciidoc/installation.adoc @@ -43,37 +43,6 @@ include::installation-dependencies.adoc[] //those <> parameters. // // -//[[installation-rpm]] -//=== RPM installation -// -//You can install Ontrack using a RPM file you can download from the -//https://github.com/nemerosa/ontrack/releases[releases] page. -// -//The RPM is continuously tested on CentOS 6.7 and CentOS 7.1. -// -//To install Ontrack: -// -//[source,bash] -//---- -//rpm -i ontrack.rpm -//---- -// -// -//[[installation-sa]] -//=== Standalone installation -// -//Ontrack can be downloaded as a JAR and started as a Spring Boot application. -// -//Download the JAR from the -//https://github.com/nemerosa/ontrack/releases[Ontrack release page] -// -//Start it using `java -jar ontrack.jar`. -// -//<> can be passed on the command line. -// -//NOTE: See the <> section for information -//on how to connect to the database. -// //[[configuration]] //=== Configuration //