Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 754 Bytes

README.md

File metadata and controls

13 lines (8 loc) · 754 Bytes

Deployment

This repo uses Serverless Framework for deployment.

Prerequisites

You must have a .env file in the root directory of the repo with the following environment variables set:

  • BUCKET_NAME: The name of the S3 bucket to store screenshots in.
  • FRONT_PAGES_API_KEY: The API key used to post snapshots to Front Pages.
  • FRONT_PAGES_BASE_URL (optional): The base URL for Front Pages API requests. If not provided, http://front-pages-sandbox.herokuapp.com will be used by default.

This file will be used by serverless-dotenv-plugin to publish these variables to production on deploy.