Skip to content

Latest commit

 

History

History
76 lines (48 loc) · 1.62 KB

README.md

File metadata and controls

76 lines (48 loc) · 1.62 KB

alexa-skill-boilerplate Standard - JavaScript Style Guide Build Status

An easy to use Amazon Alexa Skill Boilerplate for fast skill creation

For In-Depth Explanation on how to use this check out my blog post

Requirements

Node v8.0.0

Yarn v0.24.6

Getting Started

  1. Clone the repository:
$ git clone https://github.com/acucciniello/alexa-skill-boilerplate.git
  1. Install all packages:
$ yarn
  1. Start Adding Intents to your skill by editing app.js.

Testing

This uses mocha for a testing framework, chai for an assertion library, and bespoken-tools to mock Alexa behavior

$ yarn test

Deployment

This command will deploy it to lambda given you have sent up your environment for Claudia usage.

In order to have this properly set up:

  1. Create a folder in your user’s home directory on your computer
$ mkdir ~/.aws && cd ~/.aws
  1. Create a file called credentials
$ touch credentials
  1. Edit that file to have your AWS Credentials
[claudia]
aws_access_key_id = ACCESS_KEY_ID_FROM_AWS_PAGE
aws_secret_access_key = SECRET_KEY_FROM_AWS_PAGE
  1. Deploy to Lambda
$ yarn deploy

Once deployed, you can update your lambda function with:

$ yarn upload

License

MIT