Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ghrehh/euro2020-total-goals
https://github.com/ghrehh/euro2020-total-goals
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/ghrehh/euro2020-total-goals
- Owner: Ghrehh
- Created: 2021-06-11T22:58:10.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-07-11T22:11:16.000Z (over 3 years ago)
- Last Synced: 2023-02-28T08:05:32.203Z (over 1 year ago)
- Language: JavaScript
- Size: 2.15 MB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Development
Run `yarn getData` with a valid `FOOTBALL_DATA_ACCESS_TOKEN` in you
environment to populate the data needed to run the app locally.This same data is pulled down automatically on GitHub during deploys to ensure
the site is built with the latest information. A build can be triggered manually
on GitHub to keep information up to date.# Redeploying/Updating production data
![how to deploy](how_to_deploy.png?raw=true "How to Deploy")
Redeploying will update the goals data. Deploys can be triggered
[here](https://github.com/Ghrehh/euro2020-total-goals/actions/workflows/deploy-to-github-pages.yml)# Updating other data
Entries and the pot total can be edited
[here](https://github.com/Ghrehh/euro2020-total-goals/edit/master/src/data/pot.json)Make sure the pot is entered in subunits (pennies), and that the list of entries
doesn't end with a comma.You'll then need to deploy for this changed data to be reflected on the production
application.