Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rework installation page #4758

Merged
merged 7 commits into from
Feb 12, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ GIT

GIT
remote: https://github.com/duckdb/rouge.git
revision: a867ab46a057b48579e1c840a8bd23df54cd9456
revision: 115fb6e175d7e55fcaacb6f26d5a7882c02bb709
branch: duckdb
specs:
rouge (3.3823.1)
Expand Down
10 changes: 5 additions & 5 deletions _includes/installation.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ <h3>
<li data-id=".cli" class="selected">Command line</li>
<li data-id=".python">Python</li>
<li data-id=".r">R</li>
<li data-id=".java">Java</li>
<li data-id=".java">Java (JDBC)</li>
<li data-id=".js">Node.js</li>
<li data-id=".rust">Rust</li>
<li data-id=".go">Go</li>
Expand All @@ -35,9 +35,9 @@ <h3>
Platform
</h3>
<ul class="platform">
<li data-id=".win">Windows</li>
<li data-id=".macos" class="selected">macOS</li>
<li data-id=".linux">Linux</li>
<li data-id=".macos" class="selected">macOS</li>
<li data-id=".win">Windows</li>
</ul>
<div class="info">The package is available for all platforms.</div>
</div>
Expand All @@ -46,8 +46,8 @@ <h3>
Download method
</h3>
<ul class="download_method">
<li data-id=".package_manager" class="selected">Package manager</li>
<li data-id=".direct">Direct download</li>
<li data-id=".direct" class="selected">Direct download</li>
<li data-id=".package_manager">Package manager</li>
</ul>
</div>
<div class="architecture select hide" data-select="architecture">
Expand Down
4 changes: 2 additions & 2 deletions _includes/quick_installation.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ <h1>Installation</h1>

<div class="result content">
{% highlight bash %}
brew install duckdb
curl https://install.duckdb.org | sh
{% endhighlight %}
</div>

Expand Down Expand Up @@ -82,7 +82,7 @@ <h1>Installation</h1>

<div data-install="cli macos">
{% highlight bash %}
brew install duckdb
curl https://install.duckdb.org | sh
{% endhighlight %}
</div>

Expand Down
20 changes: 3 additions & 17 deletions data/installation-data-1.2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
client.

Therefore, they need to be updated separately.
usage_example: duckdb.exe
- variant: stable
environment: Command line
platform: Windows
Expand All @@ -26,7 +25,6 @@
client.

Therefore, they need to be updated separately.
usage_example: duckdb.exe
- variant: stable
environment: Command line
platform: Windows
Expand All @@ -41,7 +39,6 @@
client.

Therefore, they need to be updated separately.
usage_example: duckdb.exe
- variant: stable
environment: Command line
platform: macOS
Expand All @@ -55,7 +52,6 @@
client.

Therefore, they need to be updated separately.
usage_example: duckdb
- variant: stable
environment: Command line
platform: macOS
Expand All @@ -64,9 +60,7 @@
sha_512: 3aaa20ddc68a33b61aa6d823011641f4bf565a0180e1c32c501fc303f19f702eca99ce256280cb6ce5bcd53876f2836eb3226fdc312b9d1e1fa6413e5664f04e
link: https://github.com/duckdb/duckdb/releases/download/v1.2.0/duckdb_cli-osx-universal.zip
installation_code: >-
curl --fail --location --progress-bar --output duckdb_cli-osx-universal.zip https://github.com/duckdb/duckdb/releases/download/v1.2.0/duckdb_cli-osx-universal.zip &&
unzip duckdb_cli-osx-universal.zip
usage_example: ./duckdb
curl https://install.duckdb.org | sh
- variant: stable
environment: Command line
platform: Linux
Expand All @@ -75,9 +69,7 @@
sha_512: d94b4497338b628dd9de64d242f4977058aa1a84a2fba2436e84adf4a8fd0716b3ab60eba53525dc16d3aa28c443271f1a12984637301ed51377dad8ea867843
link: https://github.com/duckdb/duckdb/releases/download/v1.2.0/duckdb_cli-linux-amd64.zip
installation_code: >-
curl --fail --location --progress-bar --output duckdb_cli-linux-amd64.zip https://github.com/duckdb/duckdb/releases/download/v1.2.0/duckdb_cli-linux-amd64.zip &&
unzip duckdb_cli-linux-amd64.zip
usage_example: ./duckdb
curl https://install.duckdb.org | sh
- variant: stable
environment: Command line
platform: Linux
Expand All @@ -86,9 +78,7 @@
sha_512: 64d84b5d468ae544251d567cadd8504472f5f2a6df1f6fa390bf1ed96b9d00d6f31a007729de92f1799520161235de5d7da44c0e18800da38fbd026d9c439973
link: https://github.com/duckdb/duckdb/releases/download/v1.2.0/duckdb_cli-linux-aarch64.zip
installation_code: >-
curl --fail --location --progress-bar --output duckdb_cli-linux-aarch64.zip https://github.com/duckdb/duckdb/releases/download/v1.2.0/duckdb_cli-linux-aarch64.zip &&
unzip duckdb_cli-linux-aarch64.zip
usage_example: ./duckdb
curl https://install.duckdb.org | sh
- variant: stable
environment: Python
platform: all
Expand Down Expand Up @@ -213,7 +203,6 @@
client.

Therefore, they need to be updated separately.
usage_example: duckdb.exe
- variant: nightly
environment: Command line
platform: macOS
Expand All @@ -224,7 +213,6 @@
curl --fail --location --progress-bar --output duckdb-binaries-osx.zip https://artifacts.duckdb.org/latest/duckdb-binaries-osx.zip &&
unzip duckdb-binaries-osx.zip &&
unzip duckdb_cli-osx-universal.zip
usage_example: ./duckdb
- variant: nightly
environment: Command line
platform: Linux
Expand All @@ -235,7 +223,6 @@
curl --fail --location --progress-bar --output duckdb-binaries-linux.zip https://artifacts.duckdb.org/latest/duckdb-binaries-linux.zip &&
unzip duckdb-binaries-linux.zip &&
unzip duckdb_cli-linux-amd64.zip
usage_example: ./duckdb
- variant: nightly
environment: Command line
platform: Linux
Expand All @@ -246,7 +233,6 @@
curl --fail --location --progress-bar --output duckdb-binaries-linux-aarch64.zip https://artifacts.duckdb.org/latest/duckdb-binaries-linux-aarch64.zip &&
unzip duckdb-binaries-linux-aarch64.zip &&
unzip duckdb_cli-linux-aarch64.zip
usage_example: ./duckdb
- variant: nightly
environment: Python
platform: all
Expand Down