Fix installation page
diff --git a/docs/01_try-installation.md b/docs/01_try-installation.md
index d4a4674..ebd0e29 100644
--- a/docs/01_try-installation.md
+++ b/docs/01_try-installation.md
@@ -4,6 +4,8 @@
sidebar_label: Installation
---
+import DownloadSection from '@site/src/components/download/DownloadSection.tsx';
+
The easiest way to install StreamPipes is our Docker-based installation. For production-grade deployments, we also
recommend looking at our Kubernetes support, which is also part of the installation kit.
@@ -32,82 +34,7 @@
## Install StreamPipes
-<ul style="padding-left:0">
- <li class="installation-step" style="margin-top:20px;">
- <div class="wrapper-container" style="">
- <div class="wrapper-step">
- <span class="fa-stack fa-2x">
- <i class="fas fa-circle fa-stack-2x sp-color-green"></i>
- <strong class="fa-stack-1x" style="color:white;">1</strong>
- </span>
- </div>
- <div class="wrapper-instruction">
- Download the latest Apache StreamPipes release and extract the zip file to a directory of your choice.
- <table class="table" style="margin-top:30px;">
- <thead>
- <tr style="background:rgb(27, 20, 100);color:white;">
- <th scope="col" style="border-bottom:0px;border-top:0px;">File</th>
- <th scope="col" style="border-bottom:0px;border-top:0px;">Version</th>
- <th scope="col" style="border-bottom:0px;border-top:0px;">Release Date</th>
- <th scope="col" style="border-bottom:0px;border-top:0px;">Signatures</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>
- <a href="https://www.apache.org/dyn/closer.lua?action=download&filename=streampipes/0.92.0/apache-streampipes-0.92.0-source-release.zip">apache-streampipes-0.92.0-source-release.zip</a>
- </td>
- <td>0.92.0</td>
- <td>2023-06-16</td>
- <td>
- <a href="https://downloads.apache.org/streampipes/0.92.0/apache-streampipes-0.92.0-source-release.zip.sha512">SHA</a>
- <a href="https://downloads.apache.org/streampipes/0.92.0/apache-streampipes-0.92.0-source-release.zip.asc">PGP</a>
- </td>
- </tr>
- </tbody>
- </table>
- <div class="row">
- <div class="alert alert-info" role="alert">
- The above release file should be verified using the PGP signatures and the <a
- href="https://downloads.apache.org/streampipes/KEYS">project release KEYS</a>. See the
- official ASF <a target="asf" href="https://www.apache.org/dyn/closer.cgi#verify">verification
- instructions</a> for a description of using the PGP and KEYS files for verification. A SHA512
- checksum is also provided as an additional verification method.
- </div>
- </div>
- </div>
- </div>
- </li>
- <li class="installation-step">
- <div class="wrapper-container">
- <div class="wrapper-step">
- <span class="fa-stack fa-2x">
- <i class="fas fa-circle fa-stack-2x sp-color-green"></i>
- <strong class="fa-stack-1x" style="color:white;">2</strong>
- </span>
- </div>
- <div class="wrapper-instruction">
- <div style="margin-bottom:5px;">In a command prompt, open the folder <code>installer/compose</code> and
- run <code>docker-compose up -d</code>
- </div>
- </div>
- </div>
- </li>
- <li class="installation-step">
- <div class="wrapper-container" style="align-items: center;justify-content: center;">
- <div class="wrapper-step">
- <span class="fa-stack fa-2x">
- <i class="fas fa-circle fa-stack-2x sp-color-green"></i>
- <strong class="fa-stack-1x" style="color:white;">3</strong>
- </span>
- </div>
- <div class="wrapper-instruction">
- Open your browser, navigate to http://localhost:80 (or the domain name of your server) and log in using
- the default email <code>admin@streampipes.apache.org</code> and default password <code>admin</code>.
- </div>
- </div>
- </li>
-</ul>
+<DownloadSection version={'0.93.0'}></DownloadSection>
## Setup StreamPipes
diff --git a/website-v2/src/components/download/DownloadBox.tsx b/website-v2/src/components/download/DownloadBox.tsx
index ec11d72..af313ee 100644
--- a/website-v2/src/components/download/DownloadBox.tsx
+++ b/website-v2/src/components/download/DownloadBox.tsx
@@ -33,15 +33,15 @@
<tbody>
<tr>
<td><a
- href="https://www.apache.org/dyn/closer.lua?action=download&filename=streampipes/0.92.0/apache-streampipes-0.92.0-source-release.zip">apache-streampipes-0.92.0-source-release.zip</a>
+ href={`https://www.apache.org/dyn/closer.lua?action=download&filename=streampipes/${props.version}/apache-streampipes-${props.version}-source-release.zip`}>apache-streampipes-{props.version}-source-release.zip</a>
</td>
- <td>0.92.0</td>
- <td>2023-06-16</td>
+ <td>{props.version}</td>
+ <td>{props.releaseDate}</td>
<td>
<a
- href="https://downloads.apache.org/streampipes/0.92.0/apache-streampipes-0.92.0-source-release.zip.sha512">SHA</a>
+ href={`https://downloads.apache.org/streampipes/${props.version}/apache-streampipes-${props.version}-source-release.zip.sha512`}>SHA</a>
<a
- href="https://downloads.apache.org/streampipes/0.92.0/apache-streampipes-0.92.0-source-release.zip.asc">PGP</a>
+ href={`https://downloads.apache.org/streampipes${props.version}/apache-streampipes-${props.version}-source-release.zip.asc`}>PGP</a>
</td>
</tr>
</tbody>
@@ -59,7 +59,6 @@
</div>
</div>
</li>
-
</>
)
}
diff --git a/website-v2/src/components/download/DownloadSection.tsx b/website-v2/src/components/download/DownloadSection.tsx
new file mode 100644
index 0000000..5e33929
--- /dev/null
+++ b/website-v2/src/components/download/DownloadSection.tsx
@@ -0,0 +1,17 @@
+import React, { FC } from 'react';
+import DownloadBox from './DownloadBox';
+import DownloadFolder from './DownloadFolder';
+import DownloadBrowser from './DownloadBrowser';
+import DownloadMoreInfo from './DownloadMoreInfo';
+
+const DownloadSection = (props) => (
+ <>
+ <DownloadBox {...props}></DownloadBox>
+ <DownloadFolder></DownloadFolder>
+ <DownloadBrowser></DownloadBrowser>
+ {props.showMoreInfo ? (<DownloadMoreInfo></DownloadMoreInfo>) : (<></>)}
+ </>
+
+)
+
+export default DownloadSection
diff --git a/website-v2/src/pages/download.tsx b/website-v2/src/pages/download.tsx
index 94768b3..323ab9b 100644
--- a/website-v2/src/pages/download.tsx
+++ b/website-v2/src/pages/download.tsx
@@ -9,6 +9,7 @@
import DownloadFolder from '../components/download/DownloadFolder';
import DownloadBrowser from '../components/download/DownloadBrowser';
import DownloadMoreInfo from '../components/download/DownloadMoreInfo';
+import DownloadSection from '../components/download/DownloadSection';
const Downloads: FC = () => (
@@ -34,10 +35,7 @@
<div className="installation-manual-part">
<h5 className="feature-item-margin"><span className="feature-highlights-bg">Installation</span></h5>
<ul>
- <DownloadBox></DownloadBox>
- <DownloadFolder></DownloadFolder>
- <DownloadBrowser></DownloadBrowser>
- <DownloadMoreInfo></DownloadMoreInfo>
+ <DownloadSection version={'0.92.0'} showMoreInfo={true} releaseDate={'2023-06-16'}></DownloadSection>
<hr/>
</ul>
</div>
diff --git a/website-v2/versioned_docs/version-0.70.0/01_try-installation.md b/website-v2/versioned_docs/version-0.70.0/01_try-installation.md
index 42f609c..858e0ca 100644
--- a/website-v2/versioned_docs/version-0.70.0/01_try-installation.md
+++ b/website-v2/versioned_docs/version-0.70.0/01_try-installation.md
@@ -5,6 +5,8 @@
original_id: try-installation
---
+import DownloadSection from '@site/src/components/download/DownloadSection.tsx';
+
The easiest way to install StreamPipes is our Docker-based installation. For production-grade deployments, we also
recommend looking at our Kubernetes support, which is also part of the installation kit.
@@ -40,73 +42,7 @@
## Install StreamPipes
<ul style="padding-left:0">
- <li class="installation-step" style="margin-top:20px;">
- <div class="wrapper-container" style="">
- <div class="wrapper-step">
- <span class="fa-stack fa-2x">
- <i class="fas fa-circle fa-stack-2x sp-color-green"></i>
- <strong class="fa-stack-1x" style="color:white;">1</strong>
- </span>
- </div>
- <div class="wrapper-instruction">
- Download the latest Apache StreamPipes release and extract the zip file to a directory of your choice.
- <table class="table" style="margin-top:30px;">
- <thead>
- <tr style="background:rgb(27, 20, 100);color:white;">
- <th scope="col" style="border-bottom:0px;border-top:0px;">File</th>
- <th scope="col" style="border-bottom:0px;border-top:0px;">Version</th>
- <th scope="col" style="border-bottom:0px;border-top:0px;">Release Date</th>
- <th scope="col" style="border-bottom:0px;border-top:0px;">Signatures</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td><a href="https://www.apache.org/dyn/mirrors/mirrors.cgi?action=download&filename=incubator/streampipes/0.70.0/apache-streampipes-0.70.0-incubating-source-release.zip">apache-streampipes-0.70.0-incubating-source-release.zip</a></td>
- <td>0.70.0</td>
- <td>2022-10-13</td>
- <td>
- <a href="https://downloads.apache.org/incubator/streampipes/0.70.0/apache-streampipes-0.70.0-incubating-source-release.zip.sha512">SHA</a>
- <a href="https://downloads.apache.org/incubator/streampipes/0.70.0/apache-streampipes-0.70.0-incubating-source-release.zip.asc">PGP</a>
- </td>
- </tr>
- </tbody>
- </table>
- <div class="row">
- <div class="alert alert-info" role="alert">
- The above release file should be verified using the PGP signatures and the <a href="https://downloads.apache.org/incubator/streampipes/KEYS">project release KEYS</a>. See the official ASF <a target="asf" href="https://www.apache.org/dyn/closer.cgi#verify">verification instructions</a> for a description of using the PGP and KEYS files for verification. A SHA512 checksum is also provided as an additional verification method.
- </div>
- </div>
- </div>
- </div>
- </li>
- <li class="installation-step">
- <div class="wrapper-container">
- <div class="wrapper-step">
- <span class="fa-stack fa-2x">
- <i class="fas fa-circle fa-stack-2x sp-color-green"></i>
- <strong class="fa-stack-1x" style="color:white;">2</strong>
- </span>
- </div>
- <div class="wrapper-instruction">
- <div style="margin-bottom:5px;">In a command prompt, open the folder <code>installer/compose</code> and run <code>docker-compose up -d</code>.
- </div>
-</div>
- </div>
-
- </li>
- <li class="installation-step">
- <div class="wrapper-container" style="align-items: center;justify-content: center;">
- <div class="wrapper-step">
- <span class="fa-stack fa-2x">
- <i class="fas fa-circle fa-stack-2x sp-color-green"></i>
- <strong class="fa-stack-1x" style="color:white;">3</strong>
- </span>
- </div>
- <div class="wrapper-instruction">
- Open your browser, navigate to http://localhost:80 (or the domain name of your server) and log in using the default email <code>admin@streampipes.apache.org</code> and default password <code>admin</code>.
- </div>
- </div>
- </li>
+ <DownloadSection version={'0.70.0'}></DownloadSection>
</ul>
## Setup StreamPipes
diff --git a/website-v2/versioned_docs/version-0.90.0/01_try-installation.md b/website-v2/versioned_docs/version-0.90.0/01_try-installation.md
index 9ce62db..98afbfa 100644
--- a/website-v2/versioned_docs/version-0.90.0/01_try-installation.md
+++ b/website-v2/versioned_docs/version-0.90.0/01_try-installation.md
@@ -5,6 +5,8 @@
original_id: try-installation
---
+import DownloadSection from '@site/src/components/download/DownloadSection.tsx';
+
The easiest way to install StreamPipes is our Docker-based installation. For production-grade deployments, we also
recommend looking at our Kubernetes support, which is also part of the installation kit.
@@ -34,80 +36,7 @@
## Install StreamPipes
<ul style="padding-left:0">
- <li class="installation-step" style="margin-top:20px;">
- <div class="wrapper-container" style="">
- <div class="wrapper-step">
- <span class="fa-stack fa-2x">
- <i class="fas fa-circle fa-stack-2x sp-color-green"></i>
- <strong class="fa-stack-1x" style="color:white;">1</strong>
- </span>
- </div>
- <div class="wrapper-instruction">
- Download the latest Apache StreamPipes release and extract the zip file to a directory of your choice.
- <table class="table" style="margin-top:30px;">
- <thead>
- <tr style="background:rgb(27, 20, 100);color:white;">
- <th scope="col" style="border-bottom:0px;border-top:0px;">File</th>
- <th scope="col" style="border-bottom:0px;border-top:0px;">Version</th>
- <th scope="col" style="border-bottom:0px;border-top:0px;">Release Date</th>
- <th scope="col" style="border-bottom:0px;border-top:0px;">Signatures</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>
- <a href="https://www.apache.org/dyn/closer.lua?action=download&filename=streampipes/0.90.0/apache-streampipes-0.90.0-source-release.zip">apache-streampipes-0.90.0-source-release.zip</a>
- </td>
- <td>0.90.0</td>
- <td>2023-01-17</td>
- <td>
- <a href="https://downloads.apache.org/streampipes/0.90.0/apache-streampipes-0.90.0-source-release.zip.sha512">SHA</a>
- <a href="https://downloads.apache.org/streampipes/0.90.0/apache-streampipes-0.90.0-source-release.zip.asc">PGP</a>
- </td>
- </tr>
- </tbody>
- </table>
- <div class="row">
- <div class="alert alert-info" role="alert">
- The above release file should be verified using the PGP signatures and the <a
- href="https://downloads.apache.org/streampipes/KEYS">project release KEYS</a>. See the
- official ASF <a target="asf" href="https://www.apache.org/dyn/closer.cgi#verify">verification
- instructions</a> for a description of using the PGP and KEYS files for verification. A SHA512
- checksum is also provided as an additional verification method.
- </div>
- </div>
- </div>
- </div>
- </li>
- <li class="installation-step">
- <div class="wrapper-container">
- <div class="wrapper-step">
- <span class="fa-stack fa-2x">
- <i class="fas fa-circle fa-stack-2x sp-color-green"></i>
- <strong class="fa-stack-1x" style="color:white;">2</strong>
- </span>
- </div>
- <div class="wrapper-instruction">
- <div style="margin-bottom:5px;">In a command prompt, open the folder <code>installer/compose</code> and
- run <code>docker-compose up -d</code>
- </div>
- </div>
- </div>
- </li>
- <li class="installation-step">
- <div class="wrapper-container" style="align-items: center;justify-content: center;">
- <div class="wrapper-step">
- <span class="fa-stack fa-2x">
- <i class="fas fa-circle fa-stack-2x sp-color-green"></i>
- <strong class="fa-stack-1x" style="color:white;">3</strong>
- </span>
- </div>
- <div class="wrapper-instruction">
- Open your browser, navigate to http://localhost:80 (or the domain name of your server) and log in using
- the default email <code>admin@streampipes.apache.org</code> and default password <code>admin</code>.
- </div>
- </div>
- </li>
+ <DownloadSection version={'0.90.0'}></DownloadSection>
</ul>
## Setup StreamPipes
diff --git a/website-v2/versioned_docs/version-0.91.0/01_try-installation.md b/website-v2/versioned_docs/version-0.91.0/01_try-installation.md
index 2cc0aa3..3d7dab0 100644
--- a/website-v2/versioned_docs/version-0.91.0/01_try-installation.md
+++ b/website-v2/versioned_docs/version-0.91.0/01_try-installation.md
@@ -5,6 +5,8 @@
original_id: try-installation
---
+import DownloadSection from '@site/src/components/download/DownloadSection.tsx';
+
The easiest way to install StreamPipes is our Docker-based installation. For production-grade deployments, we also
recommend looking at our Kubernetes support, which is also part of the installation kit.
@@ -34,80 +36,7 @@
## Install StreamPipes
<ul style="padding-left:0">
- <li class="installation-step" style="margin-top:20px;">
- <div class="wrapper-container" style="">
- <div class="wrapper-step">
- <span class="fa-stack fa-2x">
- <i class="fas fa-circle fa-stack-2x sp-color-green"></i>
- <strong class="fa-stack-1x" style="color:white;">1</strong>
- </span>
- </div>
- <div class="wrapper-instruction">
- Download the latest Apache StreamPipes release and extract the zip file to a directory of your choice.
- <table class="table" style="margin-top:30px;">
- <thead>
- <tr style="background:rgb(27, 20, 100);color:white;">
- <th scope="col" style="border-bottom:0px;border-top:0px;">File</th>
- <th scope="col" style="border-bottom:0px;border-top:0px;">Version</th>
- <th scope="col" style="border-bottom:0px;border-top:0px;">Release Date</th>
- <th scope="col" style="border-bottom:0px;border-top:0px;">Signatures</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>
- <a href="https://www.apache.org/dyn/closer.lua?action=download&filename=streampipes/0.91.0/apache-streampipes-0.91.0-source-release.zip">apache-streampipes-0.91.0-source-release.zip</a>
- </td>
- <td>0.91.0</td>
- <td>2023-04-14</td>
- <td>
- <a href="https://downloads.apache.org/streampipes/0.91.0/apache-streampipes-0.91.0-source-release.zip.sha512">SHA</a>
- <a href="https://downloads.apache.org/streampipes/0.91.0/apache-streampipes-0.91.0-source-release.zip.asc">PGP</a>
- </td>
- </tr>
- </tbody>
- </table>
- <div class="row">
- <div class="alert alert-info" role="alert">
- The above release file should be verified using the PGP signatures and the <a
- href="https://downloads.apache.org/streampipes/KEYS">project release KEYS</a>. See the
- official ASF <a target="asf" href="https://www.apache.org/dyn/closer.cgi#verify">verification
- instructions</a> for a description of using the PGP and KEYS files for verification. A SHA512
- checksum is also provided as an additional verification method.
- </div>
- </div>
- </div>
- </div>
- </li>
- <li class="installation-step">
- <div class="wrapper-container">
- <div class="wrapper-step">
- <span class="fa-stack fa-2x">
- <i class="fas fa-circle fa-stack-2x sp-color-green"></i>
- <strong class="fa-stack-1x" style="color:white;">2</strong>
- </span>
- </div>
- <div class="wrapper-instruction">
- <div style="margin-bottom:5px;">In a command prompt, open the folder <code>installer/compose</code> and
- run <code>docker-compose up -d</code>
- </div>
- </div>
- </div>
- </li>
- <li class="installation-step">
- <div class="wrapper-container" style="align-items: center;justify-content: center;">
- <div class="wrapper-step">
- <span class="fa-stack fa-2x">
- <i class="fas fa-circle fa-stack-2x sp-color-green"></i>
- <strong class="fa-stack-1x" style="color:white;">3</strong>
- </span>
- </div>
- <div class="wrapper-instruction">
- Open your browser, navigate to http://localhost:80 (or the domain name of your server) and log in using
- the default email <code>admin@streampipes.apache.org</code> and default password <code>admin</code>.
- </div>
- </div>
- </li>
+ <DownloadSection version={'0.91.0'}></DownloadSection>
</ul>
## Setup StreamPipes
diff --git a/website-v2/versioned_docs/version-0.92.0/01_try-installation.md b/website-v2/versioned_docs/version-0.92.0/01_try-installation.md
index a0c6161..329db72 100644
--- a/website-v2/versioned_docs/version-0.92.0/01_try-installation.md
+++ b/website-v2/versioned_docs/version-0.92.0/01_try-installation.md
@@ -5,6 +5,8 @@
original_id: try-installation
---
+import DownloadSection from '@site/src/components/download/DownloadSection.tsx';
+
The easiest way to install StreamPipes is our Docker-based installation. For production-grade deployments, we also
recommend looking at our Kubernetes support, which is also part of the installation kit.
@@ -34,80 +36,7 @@
## Install StreamPipes
<ul style="padding-left:0">
- <li class="installation-step" style="margin-top:20px;">
- <div class="wrapper-container" style="">
- <div class="wrapper-step">
- <span class="fa-stack fa-2x">
- <i class="fas fa-circle fa-stack-2x sp-color-green"></i>
- <strong class="fa-stack-1x" style="color:white;">1</strong>
- </span>
- </div>
- <div class="wrapper-instruction">
- Download the latest Apache StreamPipes release and extract the zip file to a directory of your choice.
- <table class="table" style="margin-top:30px;">
- <thead>
- <tr style="background:rgb(27, 20, 100);color:white;">
- <th scope="col" style="border-bottom:0px;border-top:0px;">File</th>
- <th scope="col" style="border-bottom:0px;border-top:0px;">Version</th>
- <th scope="col" style="border-bottom:0px;border-top:0px;">Release Date</th>
- <th scope="col" style="border-bottom:0px;border-top:0px;">Signatures</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>
- <a href="https://www.apache.org/dyn/closer.lua?action=download&filename=streampipes/0.92.0/apache-streampipes-0.92.0-source-release.zip">apache-streampipes-0.92.0-source-release.zip</a>
- </td>
- <td>0.92.0</td>
- <td>2023-06-16</td>
- <td>
- <a href="https://downloads.apache.org/streampipes/0.92.0/apache-streampipes-0.92.0-source-release.zip.sha512">SHA</a>
- <a href="https://downloads.apache.org/streampipes/0.92.0/apache-streampipes-0.92.0-source-release.zip.asc">PGP</a>
- </td>
- </tr>
- </tbody>
- </table>
- <div class="row">
- <div class="alert alert-info" role="alert">
- The above release file should be verified using the PGP signatures and the <a
- href="https://downloads.apache.org/streampipes/KEYS">project release KEYS</a>. See the
- official ASF <a target="asf" href="https://www.apache.org/dyn/closer.cgi#verify">verification
- instructions</a> for a description of using the PGP and KEYS files for verification. A SHA512
- checksum is also provided as an additional verification method.
- </div>
- </div>
- </div>
- </div>
- </li>
- <li class="installation-step">
- <div class="wrapper-container">
- <div class="wrapper-step">
- <span class="fa-stack fa-2x">
- <i class="fas fa-circle fa-stack-2x sp-color-green"></i>
- <strong class="fa-stack-1x" style="color:white;">2</strong>
- </span>
- </div>
- <div class="wrapper-instruction">
- <div style="margin-bottom:5px;">In a command prompt, open the folder <code>installer/compose</code> and
- run <code>docker-compose up -d</code>
- </div>
- </div>
- </div>
- </li>
- <li class="installation-step">
- <div class="wrapper-container" style="align-items: center;justify-content: center;">
- <div class="wrapper-step">
- <span class="fa-stack fa-2x">
- <i class="fas fa-circle fa-stack-2x sp-color-green"></i>
- <strong class="fa-stack-1x" style="color:white;">3</strong>
- </span>
- </div>
- <div class="wrapper-instruction">
- Open your browser, navigate to http://localhost:80 (or the domain name of your server) and log in using
- the default email <code>admin@streampipes.apache.org</code> and default password <code>admin</code>.
- </div>
- </div>
- </li>
+ <DownloadSection version={'0.92.0'} releaseDate={'2023-06-16'}></DownloadSection>
</ul>
## Setup StreamPipes