Skip to content

times/times-sport-alexa-skill

Repository files navigation

The Times Sport Alexa skill

Alexa skill to get regular updates, and access to The Game podcast

Codeship Status for times/times-sport-alexa-skill

Local setup

To get the code up and running locally:

  1. Install dependencies

    $ yarn
    
  2. Copy env.sample.yml to env.yml and complete

Tests

Run the test suite with:

$ yarn test

Deployment

Skill

The skill deploys to AWS Lambda, with the following command:

$ yarn deploy --deploymentBucket= --profile= --stage=[dev] --region=[eu-west-1]

Ensure you pass the --deploymentBucket and --profile arguments. The --stage and --region arguments are optional.

Static assets

To deploy the application assets to S3 (images, sample audio etc.) run the following command:

$ yarn deploy:assets

Note: You will need to have the aws CLI configured for this to run