Name: shorthand-lambda-editorial
Owner: FT Interactive News
Description: Fork of financial-times/shorthand-lambda intended to facilitate editorial Shorthand projects
Created: 2017-09-05 09:53:22.0
Updated: 2017-11-14 01:50:27.0
Pushed: 2017-11-14 01:50:20.0
Homepage: null
Size: 267
Language: HTML
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Serverless project for deploying Shorthand and Ceros content
This is a Serverless project leveraging AWS Lambda and S3. It is based off Ben Fletcher's excellent next-serverless-example. Use that for help [generating policies3 and whathaveyounot.
Install dependencies
m install
Create .env file This file is used by Serverless to populate environment variables. It is not version controlled.
ACCESS_KEY_ID=<AWS Access Key ID>
SECRET_ACCESS_KEY=<AWS Secret Access Key>
ROLE=arn:aws:iam::<Lambda's account ID>:role/<Lambda role>
DEPLOYMENT_BUCKET=<artefacts bucket>
STAGING_BUCKET=<staging bucket name>
PROD_BUCKET=<production bucket name>
PROD_BUCKET_REGION=<production bucket region>
Deploy!
ke deploy
:tada: