Skip to content

Latest commit

 

History

History
47 lines (30 loc) · 1.19 KB

README.md

File metadata and controls

47 lines (30 loc) · 1.19 KB

spotify.github.io

Showcase site for hand-picked open-source projects by Spotify. It is build 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 & bunlder 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.