Main Zarr website hosted at https://zarr.dev
The easiest way to build and serve the site is using Pixi, which manages all dependencies automatically.
- Install Pixi:
curl -fsSL https://pixi.sh/install.sh | bash
- Start the development server:
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 productionpixi run install
- Install/update Ruby gems (if needed manually)
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 for an alternative.
- Install
rvm
.
gpg --keyserver hkp://keyserver.ubuntu.com --recv-keys 409b6b1796c275462a1703113804bb82d39dc0e3 7d2baf1cf37b13e2069d6956105bd0e739499bdb && curl -sSL https://get.rvm.io | bash -s stable
- Install Ruby
rvm autolibs disable && rvm install ruby 3.4.3
Note that if the above fails, you may need to specify the path for the rvm
command in your system.
- Install
bundler
gem install bundler
- In the root of the repository, run:
bundle install
- Build and serve the site locally:
bundle exec jekyll serve