This directory contains sources for https://slsa.dev, served via GitHub pages and rendered with Jekyll.
-
Install ruby, bundler, and the dev headers:
apt install ruby ruby-dev bundler
Alternatively, you can use
rbenv
to use the exact version of Ruby used by GitHub Pages, but Debian's versions are likely close enough. -
Clone this repo and change directory to
/docs
:git clone https://github.com/slsa-framework/slsa cd slsa/docs
-
Install the dependencies locally:
bundle config set --local path 'vendor/bundle' bundle install
-
(optional) To enable
jekyll-github-metadata
to read metadata about the slsa repository from the GitHub API, create a GitHub personal access token and add it to your~/.netrc
, like so:machine api.github.com login github-username password 123abc-your-token
-
Run the project locally with
jekyll serve
(optionally appending--livereload
):bundle exec jekyll serve
-
Browse to http://localhost:4000 to view the site locally.
Pushing to main
will trigger a deployment of GitHub Pages.