Skip to content

Showcase site for hand-picked open-source projects by Spotify

License

Notifications You must be signed in to change notification settings

spotify/spotify.github.io

Repository files navigation

spotify.github.io

Showcase site for hand-picked open-source projects by Spotify. It is built using Jekyll & GitHub Actions with a Node.js script to fetch data from the GitHub GraphQL API adding it to a static YAML file in the repository.

Development

Install Jekyll & bundler gems

gem install jekyll bundler

Install yarn

npm install --global yarn

Install dependencies inside of the project folder

yarn & bundle install

Build & serve

bundle exec jekyll serve

(Optional) Test & update data

Create a personal GitHub Access Token to fetch & update the repository data locally. As the data is updated automatically using GitHub Actions _data/projects_generated.yaml should not be added to Git.

GH_TOKEN=YOUR_TOKEN node ./scripts/nightly.js

This project adheres to the Open Code of Conduct. By participating, you are expected to honor this code.