Skip to content

Commit

Permalink
Update download links
Browse files Browse the repository at this point in the history
  • Loading branch information
pka committed Nov 14, 2024
1 parent e6491f6 commit df01ca2
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
12 changes: 6 additions & 6 deletions website/content/docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ You can download BBOX from [GitHub releases page](https://github.com/bbox-servic
| macOS ARM | [ARM64][rl-macos-arm-tar] |
| Windows | [64-bit][rl-win64-zip] |

[rl-linux-tar]: https://github.com/bbox-services/bbox/releases/download/v0.6.1/bbox-server-x86_64-unknown-linux-gnu.tar.gz
[rl-linux-arm-tar]: https://github.com/bbox-services/bbox/releases/download/v0.6.1/bbox-server-aarch64-unknown-linux-gnu.tar.gz
[rl-macos-tar]: https://github.com/bbox-services/bbox/releases/download/v0.6.1/bbox-server-x86_64-apple-darwin.tar.gz
[rl-macos-arm-tar]: https://github.com/bbox-services/bbox/releases/download/v0.6.1/bbox-server-aarch64-apple-darwin.tar.gz
[rl-win64-zip]: https://github.com/bbox-services/bbox/releases/download/v0.6.1/bbox-server-x86_64-pc-windows-msvc.zip
[rl-linux-tar]: https://github.com/bbox-services/bbox/releases/download/v0.6.2/bbox-server-x86_64-unknown-linux-gnu.tar.gz
[rl-linux-arm-tar]: https://github.com/bbox-services/bbox/releases/download/v0.6.2/bbox-server-aarch64-unknown-linux-gnu.tar.gz
[rl-macos-tar]: https://github.com/bbox-services/bbox/releases/download/v0.6.2/bbox-server-x86_64-apple-darwin.tar.gz
[rl-macos-arm-tar]: https://github.com/bbox-services/bbox/releases/download/v0.6.2/bbox-server-aarch64-apple-darwin.tar.gz
[rl-win64-zip]: https://github.com/bbox-services/bbox/releases/download/v0.6.2/bbox-server-x86_64-pc-windows-msvc.zip

## Installing with Cargo

Expand All @@ -38,5 +38,5 @@ bbox-server --help
BBOX is also available as a [Docker image](https://hub.docker.com/r/sourcepole/bbox-server-qgis). You can either share a configuration file from the host with the container via the `-v` param, or run BBOX in auto-discovery mode.

```shell
docker run --rm --user=$UID -p 8080:8080 -v $PWD/bbox.toml:/bbox.toml:ro -v $PWD/assets:/assets:ro sourcepole/bbox-server-qgis:v0.6.1
docker run --rm --user=$UID -p 8080:8080 -v $PWD/bbox.toml:/bbox.toml:ro -v $PWD/assets:/assets:ro sourcepole/bbox-server-qgis:v0.6.2
```
18 changes: 9 additions & 9 deletions website/content/docs/tile-server/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ You can download BBOX tile server from [GitHub releases page](https://github.com
| macOS ARM | [ARM64][rl-macos-arm-tar] |
| Windows | [64-bit][rl-win64-zip] |

[rl-linux-tar]: https://github.com/bbox-services/bbox/releases/download/v0.6.1/bbox-tile-server-x86_64-unknown-linux-gnu.tar.gz
[rl-linux-arm-tar]: https://github.com/bbox-services/bbox/releases/download/v0.6.1/bbox-tile-server-aarch64-unknown-linux-gnu.tar.gz
[rl-macos-tar]: https://github.com/bbox-services/bbox/releases/download/v0.6.1/bbox-tile-server-x86_64-apple-darwin.tar.gz
[rl-macos-arm-tar]: https://github.com/bbox-services/bbox/releases/download/v0.6.1/bbox-tile-server-aarch64-apple-darwin.tar.gz
[rl-win64-zip]: https://github.com/bbox-services/bbox/releases/download/v0.6.1/bbox-tile-server-x86_64-pc-windows-msvc.zip
[rl-linux-tar]: https://github.com/bbox-services/bbox/releases/download/v0.6.2/bbox-tile-server-x86_64-unknown-linux-gnu.tar.gz
[rl-linux-arm-tar]: https://github.com/bbox-services/bbox/releases/download/v0.6.2/bbox-tile-server-aarch64-unknown-linux-gnu.tar.gz
[rl-macos-tar]: https://github.com/bbox-services/bbox/releases/download/v0.6.2/bbox-tile-server-x86_64-apple-darwin.tar.gz
[rl-macos-arm-tar]: https://github.com/bbox-services/bbox/releases/download/v0.6.2/bbox-tile-server-aarch64-apple-darwin.tar.gz
[rl-win64-zip]: https://github.com/bbox-services/bbox/releases/download/v0.6.2/bbox-tile-server-x86_64-pc-windows-msvc.zip

## Debian packages

Expand All @@ -28,9 +28,9 @@ You can download BBOX tile server from [GitHub releases page](https://github.com
| Debian Bookworm | [x86_64][deb-bookworm] |
| Debian Bullseye | [x86_64][deb-bullseye] |

[deb-jammy]: https://github.com/bbox-services/bbox/releases/download/v0.6.1/bbox-tile-server_0.6.1-jammy_amd64.deb
[deb-bookworm]: https://github.com/bbox-services/bbox/releases/download/v0.6.1/bbox-tile-server_0.6.1-bookworm_amd64.deb
[deb-bullseye]: https://github.com/bbox-services/bbox/releases/download/v0.6.1/bbox-tile-server_0.6.1-bullseye_amd64.deb
[deb-jammy]: https://github.com/bbox-services/bbox/releases/download/v0.6.2/bbox-tile-server_0.6.2-jammy_amd64.deb
[deb-bookworm]: https://github.com/bbox-services/bbox/releases/download/v0.6.2/bbox-tile-server_0.6.2-bookworm_amd64.deb
[deb-bullseye]: https://github.com/bbox-services/bbox/releases/download/v0.6.2/bbox-tile-server_0.6.2-bullseye_amd64.deb

## Installing with Cargo

Expand All @@ -49,5 +49,5 @@ bbox-tile-server --help
BBOX tile server is also available as a [Docker image](https://hub.docker.com/r/sourcepole/bbox-tile-server). You can either share a configuration file from the host with the container via the `-v` param, or you can run BBOX in auto-discover mode.

```shell
docker run --rm --user=$UID -p 8080:8080 -v $PWD/bbox.toml:/bbox.toml:ro -v $PWD/assets:/assets:ro sourcepole/bbox-server-qgis:v0.6.1
docker run --rm --user=$UID -p 8080:8080 -v $PWD/bbox.toml:/bbox.toml:ro -v $PWD/assets:/assets:ro sourcepole/bbox-server-qgis:v0.6.2
```
4 changes: 2 additions & 2 deletions website/justfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ update-version version:
sed --in-place -e 's/^version = ".*/version = "{{version}}"/g' -e 's/^\(bbox-.* version =\) "[^"]*"/\1 "{{version}}"/g' -e 's/^\(bbox-routing-server.* version =\) "[^"]*"/\1 "0.1.0"/g' ../bbox-asset-server/Cargo.toml ../bbox-core/Cargo.toml ../bbox-feature-server/Cargo.toml ../bbox-frontend/Cargo.toml ../bbox-map-server/Cargo.toml ../bbox-processes-server/Cargo.toml ../bbox-server/Cargo.toml ../bbox-tile-server/Cargo.toml
cd .. && cargo build

# Update version in downlad urls (e.g. v0.5.0-beta4)
# Update version in downlad urls (e.g. 0.5.0-beta4)
update-version-doc version:
V={{version}}; VD=${V:1}; VD=${VD/-/.}; sed --in-place -e 's!download/v.*/!download/{{version}}/!g' -e 's!sourcepole/\(bbox-.*\):.*!sourcepole/\1:{{version}}!g' -e "s!_.*\(-.*.deb$\)!_$VD\1!g" content/docs/installation.md content/docs/tile-server/installation.md
V={{version}} VD=${V/-/.}; sed --in-place -e 's!download/v.*/!download/v{{version}}/!g' -e 's!sourcepole/\(bbox-.*\):.*!sourcepole/\1:v{{version}}!g' -e "s!_.*\(-.*.deb$\)!_$VD\1!g" content/docs/installation.md content/docs/tile-server/installation.md

rustdoc:
cargo +nightly-2024-09-23 rustdoc --lib -p bbox-core -- -Z unstable-options --output-format json
Expand Down

0 comments on commit df01ca2

Please sign in to comment.