The source of all football assets used on The Guardian and scripts to easily compress and upload them to s3.
Make sure you have frontend
Janus credentials.
You will also need Node.js.
Get dependencies by running npm install
.
$ npm run prepare
Resized images can be found in build/
Compress images and deploy to s3:
$ npm run deploy
This can take a minute or two. Results won't be seen immediately due to caching.
When adding crests, please check tag manager and ensure that the teams concerned also have their relevant PA ID added. If they don't, contact central production and ask them to add it.