Skip to content

Commit 68ed0fe

Browse files
committed
use pixi for declaring dev dependencies and running the site
1 parent 2d6fc3a commit 68ed0fe

File tree

4 files changed

+2054
-9
lines changed

4 files changed

+2054
-9
lines changed

README.md

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,29 @@ Main Zarr website hosted at https://zarr.dev
44

55
## Building
66

7-
To build the webpage, you will need a working Ruby installation.
7+
### Option 1: Using Pixi (Recommended)
8+
9+
The easiest way to build and serve the site is using [Pixi](https://pixi.sh), which manages all dependencies automatically.
10+
11+
1. Install Pixi:
12+
```bash
13+
curl -fsSL https://pixi.sh/install.sh | bash
14+
```
15+
16+
2. Start the development server:
17+
```bash
18+
pixi run dev
19+
```
20+
21+
The site will be available at http://localhost:4000 with live reload enabled. Pixi will automatically install all dependencies on first run.
22+
23+
Additional commands:
24+
- `pixi run build` - Build the site for production
25+
- `pixi run install` - Install/update Ruby gems (if needed manually)
26+
27+
### Option 2: Manual Ruby Installation
28+
29+
To build the webpage manually, you will need a working Ruby installation.
830

931
If you are on Ubuntu and want to install the requirements locally,
1032
follow the steps below as root. Alternatively, see the Dockerfile

_config.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,15 @@ plugins:
5252
# Exclude from processing.
5353
# The following items will not be processed, by default. Create a custom list
5454
# to override the default setting.
55-
# exclude:
56-
# - Gemfile
57-
# - Gemfile.lock
58-
# - node_modules
59-
# - vendor/bundle/
60-
# - vendor/cache/
61-
# - vendor/gems/
62-
# - vendor/ruby/
55+
exclude:
56+
- .pixi/
57+
- Gemfile
58+
- Gemfile.lock
59+
- node_modules
60+
- vendor/bundle/
61+
- vendor/cache/
62+
- vendor/gems/
63+
- vendor/ruby/
6364

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

0 commit comments

Comments
 (0)