Skip to content

Latest commit

 

History

History
59 lines (41 loc) · 1.56 KB

README.md

File metadata and controls

59 lines (41 loc) · 1.56 KB

leboncoin.tech

Build Status License made with love

Sources for leboncoin.tech page.

🔧 Setup

Use your package manager or npm to install gatsby-cli:

$ npm install -g gatsby-cli

Then install all the dependencies:

$ npm install 

🔑 Required Environment

This project requires two environment variables to work properly:

  • GITHUB_TOKEN
    A personal Github token you can create in your Github settings. This is used to fetch the various public repositories on our Github organization page.
  • YOUTUBE_TOKEN
    An API key for the YouTube API. This is used to fetch the latest videos from our YouTube channel.

🎉 Start

Once all the dependencies have been installed and the environment variables set, you can run gatsby in dev mode:

$ gatsby develop

This will ensure the page is reloaded and the bundles recompiled with every change without having to restart Gatsby.

⚡ CI/CD

The develop branch gets merged every day into the master branch, effectively redeploying the site and fetching the new data. Both these branches are protected. To make changes to the site, a new branch must be created and merged into develop.