Create an attribute for Getting Started (#24825)
* Create an attribute for Getting Started Closes #24824 Signed-off-by: AndyMunro <amunro@redhat.com> Signed-off-by: Alexander Schwartz <aschwart@redhat.com> Co-authored-by: Alexander Schwartz <aschwart@redhat.com>
This commit is contained in:
parent
2bb31b1bfc
commit
7d62f6308d
4 changed files with 9 additions and 10 deletions
|
@ -4,3 +4,6 @@
|
||||||
:icons: font
|
:icons: font
|
||||||
:section: guide
|
:section: guide
|
||||||
:sections: guides
|
:sections: guides
|
||||||
|
|
||||||
|
ifndef::asciidoctorconfigdir[:asciidoctorconfigdir: .]
|
||||||
|
include::{asciidoctorconfigdir}/attributes.adoc[]
|
|
@ -1 +1,3 @@
|
||||||
:project_name: Keycloak
|
:project_name: Keycloak
|
||||||
|
:archivebasename: keycloak
|
||||||
|
:archivedownloadurl: https://github.com/keycloak/keycloak/releases/download/{version}/keycloak-{version}.zip
|
|
@ -11,20 +11,14 @@ summary="Get started with {project_name} on bare metal">
|
||||||
|
|
||||||
== Before you start
|
== Before you start
|
||||||
|
|
||||||
Make sure you have https://openjdk.java.net/[OpenJDK 17] installed.
|
Make sure you have https://openjdk.java.net/[OpenJDK 17] installed.
|
||||||
|
|
||||||
== Download {project_name}
|
== Download {project_name}
|
||||||
|
|
||||||
Download and extract https://github.com/keycloak/keycloak/releases/download/{version}/keycloak-{version}.zip[keycloak-{version}.zip]
|
Download and extract {archivedownloadurl}[{archivebasename}-{version}.zip]
|
||||||
from the {project_name} website.
|
from the {project_name} website.
|
||||||
|
|
||||||
<@profile.ifCommunity>
|
After extracting this file, you should have a directory that is named `{archivebasename}-{version}`.
|
||||||
After extracting this file, you should have a directory with a name that starts with `keycloak-{version}`.
|
|
||||||
</@profile.ifCommunity>
|
|
||||||
|
|
||||||
<@profile.ifProduct>
|
|
||||||
After extracting this file, you should have a directory with a name that starts with `rhbk-{version}`.
|
|
||||||
</@profile.ifProduct>
|
|
||||||
|
|
||||||
include::templates/start-keycloak-localhost.adoc[]
|
include::templates/start-keycloak-localhost.adoc[]
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
== Start {project_name}
|
== Start {project_name}
|
||||||
|
|
||||||
. From a terminal, open the keycloak-{version} directory.
|
. From a terminal, open the `{archivebasename}-{version}` directory.
|
||||||
. Enter the following command:
|
. Enter the following command:
|
||||||
<@profile.ifProduct>
|
<@profile.ifProduct>
|
||||||
+
|
+
|
||||||
|
|
Loading…
Reference in a new issue