Skip to content
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
13 changes: 8 additions & 5 deletions .github/workflows/github_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,23 +23,26 @@ jobs:
node-version: 20
cache: npm

- name: Install pnpm
run: npm install -g pnpm@9

- name: Clone vizarr
run: git clone https://github.com/fractal-analytics-platform/vizarr.git
run: git clone https://github.com/BioNGFF/vizarr

- name: Checkout vizarr commit
run: |
cd vizarr
git checkout a04555b6557a42f4ee627850bad4e6b3fe8c8fe1
git checkout 88b6f8128799cd946e93d46278d31a58e392bd62

- name: Install dependencies
run: |
cd vizarr
npx -y pnpm install
pnpm install

- name: Generate build artifacts
run: |
cd vizarr
npx pnpm run build
pnpm run build

- name: Generate the package
run: |
Expand Down Expand Up @@ -84,6 +87,6 @@ jobs:
run: tar -C package -czf node-${{ matrix.node-version }}-fractal-data-${{ github.ref_name }}.tar.gz dist package.json node_modules LICENSE

- name: Release
uses: softprops/action-gh-release@v2.2.1
uses: softprops/action-gh-release@v2
with:
files: node-${{ matrix.node-version }}-fractal-data-${{ github.ref_name }}.tar.gz
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ Note: Numbers like (#123) point to closed Pull Requests on the fractal-vizarr-vi

# 0.4.4 (unreleased)

* Used BioNGFF/vizarr instead of fractal-analytics-platform/vizarr (\#81);
* Drop support for node v18 (\#85).
* Add support for node v24 (\#85).

Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ FROM node:20

WORKDIR /

RUN git clone https://github.com/hms-dbmi/vizarr.git
RUN git clone https://github.com/BioNGFF/vizarr
WORKDIR /vizarr

RUN git checkout eb2b77fed92a08c78c5770144bc7ccf19e9c7658
RUN git checkout 88b6f8128799cd946e93d46278d31a58e392bd62
RUN npx -y pnpm install
RUN npx pnpm run build

Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ If we need to serve these services on different domains a different authenticati

## Install fractal-data from release packages

> This is the suggested way to install fractal-data.

The release packages include the Node.js server and the Vizarr static files. Starting from version 0.1.3, fractal-data releases provide tar.gz files containing built Vizarr static files and a package of built files for each supported node version.

### Install Vizarr static files
Expand Down Expand Up @@ -194,9 +196,9 @@ In order to display a proper error message related to the missing authorization
> Note: for simplicity, we assume that `fractal-data` and `vizarr` are subfolders of the same folder:

```bash
git clone https://github.com/fractal-analytics-platform/vizarr.git
git clone https://github.com/BioNGFF/vizarr
cd vizarr
git checkout origin/workaround-labels-bug
git checkout 88b6f8128799cd946e93d46278d31a58e392bd62
npx pnpm install
npx pnpm run build
```
Expand Down
Loading