Skip to content
This repository has been archived by the owner on Jul 26, 2018. It is now read-only.
/ promo_data Public archive

JSON files that feed the promos

Notifications You must be signed in to change notification settings

ello/promo_data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Promotion metadata for the webapp

The data files live in data/*.json.

To change the data, simply edit the .json files, and run the tests for validation.

Setup

Running the tests locally isn't strictly required, but may be useful for rapid feedback:

Prerequisites

To run the validation tests, a working Node 4.3+ installation is required.

To install packages

In the promo_data folder, run

$ npm install

To run the tests

$ npm test

Then you're good!

Effecting the changes

  • Open a new Pull Request containing the changes to the .json files
  • Wait for tests to pass on Circle (the pull request will acquire a green check mark)
  • After the PR is reviewed, merge to master
  • The data will be automatically deployed to staging (ello.ninja) after this point
  • once approved, use the /promo slack command in the support-bot channel and they will be promoted to production

About

JSON files that feed the promos

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •