ft-interactive/shorthand-lambda-editorial

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

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Shorthand Lambda (Editorial fork)

 2017 Ændrew Rininsland and Andrew Georgiou, Financial Times

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.

Usage
  1. Install dependencies

    m install
    
  2. 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>
    
  3. Deploy!

    ke deploy
    
  4. :tada:

Weirdness
 Special thanks to Vish Bhalla for helping with AWS config!

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.