An open API service indexing awesome lists of open source software.

https://github.com/cameronhunter/ron-swanson-alexa-skill

A simple Ron Swanson quote Alexa Skill
https://github.com/cameronhunter/ron-swanson-alexa-skill

Last synced: 8 months ago
JSON representation

A simple Ron Swanson quote Alexa Skill

Awesome Lists containing this project

README

          

# ron-swanson

An Alexa skill for the Amazon Echo. Generated by [generator-alexa-skill](https://github.com/cameronhunter/generator-alexa-skill).

## Example phrases
```
Alexa, ask Ron Swanson for wisdom
Alexa, ask Ron Swanson for some wisdom
Alexa, ask Ron Swanson for a quote
```

See `model/UTTERANCES` for more example phrases.

## Development

### Test

```bash
npm test
```

### Package

```bash
npm run package
```

This creates `build/package.zip` containing the compiled skill - this can be uploaded directly to AWS Lambda. It exposes a single function `index.hander`. Skill utterances defined in the `model` directory are expanded and output to `build/UTTERANCES`.

### Deploy

```bash
npm run deploy
```

If you configure the project with AWS credentials then you can build, test, package and deploy the project with a single command. You can check it out in the [AWS console](https://console.aws.amazon.com/lambda/home?region=us-east-1#/functions/ron-swanson).