Skip to content

Commit

Permalink
#822 JAR installation
Browse files Browse the repository at this point in the history
  • Loading branch information
dcoraboeuf committed Nov 22, 2020
1 parent b7de5bf commit 309d84f
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 31 deletions.
40 changes: 40 additions & 0 deletions ontrack-docs/src/docs/asciidoc/installation-jar.adoc
Original file line number Diff line number Diff line change
@@ -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 <<installation-dependencies,dependencies>> 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
----

<<configuration-properties,Options>> 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 ...
----
31 changes: 0 additions & 31 deletions ontrack-docs/src/docs/asciidoc/installation.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -43,37 +43,6 @@ include::installation-dependencies.adoc[]
//those <<configuration,configuration>> 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`.
//
//<<configuration,Options>> can be passed on the command line.
//
//NOTE: See the <<installation-docker,Docker installation>> section for information
//on how to connect to the database.
//
//[[configuration]]
//=== Configuration
//
Expand Down

0 comments on commit 309d84f

Please sign in to comment.