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
24 changes: 23 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,29 @@ Main Zarr website hosted at https://zarr.dev

## Building

To build the webpage, you will need a working Ruby installation.
### Option 1: Using Pixi (Recommended)

The easiest way to build and serve the site is using [Pixi](https://pixi.sh), which manages all dependencies automatically.

1. Install Pixi:
```bash
curl -fsSL https://pixi.sh/install.sh | bash
```

2. Start the development server:
```bash
pixi run dev
```

The site will be available at http://localhost:4000 with live reload enabled. Pixi will automatically install all dependencies on first run.

Additional commands:
- `pixi run build` - Build the site for production
- `pixi run install` - Install/update Ruby gems (if needed manually)

### Option 2: Manual Ruby Installation

To build the webpage manually, you will need a working Ruby installation.

If you are on Ubuntu and want to install the requirements locally,
follow the steps below as root. Alternatively, see the Dockerfile
Expand Down
17 changes: 9 additions & 8 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,15 @@ plugins:
# Exclude from processing.
# The following items will not be processed, by default. Create a custom list
# to override the default setting.
# exclude:
# - Gemfile
# - Gemfile.lock
# - node_modules
# - vendor/bundle/
# - vendor/cache/
# - vendor/gems/
# - vendor/ruby/
exclude:
- .pixi/
- Gemfile
- Gemfile.lock
- node_modules
- vendor/bundle/
- vendor/cache/
- vendor/gems/
- vendor/ruby/

# https://github.com/mmistakes/minimal-mistakes/blob/641ca6f3d8cd8fb0ae24e4f77b2e62a44a65e53b/_config.yml
logo: android-chrome-512x512.png
Expand Down
Loading