项目作者: times

项目描述 :
The Times Sport Alexa skill
高级语言: JavaScript
项目地址: git://github.com/times/times-sport-alexa-skill.git
创建时间: 2018-04-13T14:20:02Z
项目社区:https://github.com/times/times-sport-alexa-skill

开源协议:

下载


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

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

Tests

Run the test suite with:

  1. $ yarn test

Deployment

Skill

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

  1. $ 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:

  1. $ yarn deploy:assets

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