Skip to content

Latest commit

 

History

History
31 lines (18 loc) · 1.19 KB

README.md

File metadata and controls

31 lines (18 loc) · 1.19 KB

Product Website

This directory contains the markdown and config files for the product website.

The items in this directory of origin/master is deployed via GitHub pages.

Running the site locally

GitHub pages uses Jekyll, which is a static site generator. It essentially turns the markdowns in this directory into a nice looking website.

Follow these instructions to install Jekyll on your computer.

Then, in this directory, run the following command:

bundle exec jekyll serve

The console should give you a link to visit. Just visit that link in your web browser!

Feel free to explore the website. There's some interesting legal docs...

Viewing data

As explained in ../data/README.md, the Discover data is duplicated into this directory. In production, the extension periodically polls for the latest data from these files via a HTTP call.

To view the data after launching the site, append /deals.json or /cashbacks.json to the link (from the section above). Alternatively, you can view the data by just opening the json file in your IDE.

{% include ga.html %}