Skip to content

Commit 452cea3

Browse files
committed
Update README for local build
1 parent 8c2b181 commit 452cea3

File tree

1 file changed

+23
-6
lines changed

1 file changed

+23
-6
lines changed

README.md

Lines changed: 23 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,33 @@ Main Zarr website hosted at https://zarr.dev
44

55
## Building
66

7+
1. Install `rvm`. On ubuntu,
8+
9+
```
10+
gpg --keyserver hkp://keyserver.ubuntu.com --recv-keys 409b6b1796c275462a1703113804bb82d39dc0e3 7d2baf1cf37b13e2069d6956105bd0e739499bdb && curl -sSL https://get.rvm.io | bash -s stable
11+
```
12+
13+
2. Install Ruby
14+
```
15+
rvm autolibs disable && rvm install ruby 3.1.2
16+
```
17+
18+
Note that if the above fails, you may need to specify the path for the `rvm` command in your system.
19+
20+
3. Install `bundler`
21+
22+
```
23+
gem install bundler
24+
```
25+
26+
4. In the root of the repository, run:
27+
728
```
8-
conda create -n zarr.dev -c conda-forge rb-bundler c-compiler compilers cxx-compiler
9-
conda activate zarr.dev
1029
bundle install
11-
bundle exec jekyll serve
1230
```
1331

14-
Note: using conda-forge packages directly failed on eventmachine (Dec 2021):
32+
5. Build and serve the site locally:
33+
1534
```
16-
conda create -n zarr.dev -c conda-forge rb-jekyll rb-bundler rb-public_suffix rb-minima rb-jekyll-feed
17-
conda activate zarr.dev
1835
bundle exec jekyll serve
1936
```

0 commit comments

Comments
 (0)