Skip to content

Latest commit

 

History

History

lambda-shot

Shot

made with Puppeteer Lambda Starter Kit

make fontcache

  1. AWS Lambda
  2. make zip and upload
    • .fonts
    • .fonts.conf
    • fontcache.py
  3. run it
  4. get result file from syon-temp on S3

build and make zip

npm run package-nochrome
rm package.zip
cp -r src/.fontconfig/ dist/.fontconfig/
cp -r src/.fonts/ dist/.fonts/
cp -r src/.fonts.conf dist/
cd dist
zip -rq ../shot.zip .
cd ..