Skip to content
This repository was archived by the owner on Oct 8, 2024. It is now read-only.

Latest commit

 

History

History
28 lines (19 loc) · 919 Bytes

README.md

File metadata and controls

28 lines (19 loc) · 919 Bytes

Random Referral

This is a web service to allow people to find referral codes from other people at dxw.

https://dxw-random-referral.herokuapp.com/

Why?

We have a spreadsheet that stores referral codes for various products and services that dxw folks have purchased.

Spreadsheet

This was set up to help folks make greener choices. It was then decided that it would help make it fairer for all those who added codes if the access was randomised. So we made this!

How to run it locally

bundle exec rails server

You will need to set some environment variables to tell the service how to authenticate with Google Drive. 1Password has a .env file you can use (under Random referral within the Rails 1password vault), or you can create your own service account and share the spreadsheet with it.