Giter Club home page Giter Club logo

alexa_rubyengine's Introduction

AlexaRubyengine

Installation

Sample Application

For a sample application video tutorial, check the follow video bellow:

Running a sample Rubykit Demo

Usage

For running the sample "say" application:

  • Configure your endpoint for SSL for ElasticBeanStalk.
  1. Follow the instructions at http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create_deploy_Ruby_sinatra.html, this'll deploy the app to EBS.
  2. Then follow the instructions at http://docs.aws.amazon.com/IAM/latest/UserGuide/InstallCert.html for installing and uploading a SSL certificate to EBS, use the domain of the endpoint selected in the previous step (Important!).
  3. In the ElasticBeanstalk management console, activate SSL port 443 and select the SSL certificate from the dropdown.
  4. Ensure that the endpoint is alive by going to https://endpointurl.elastickbeanstalk.com. Note: A 500 error is sent by default if a request is not made from an Alexa.
  5. In your Developer Portal, create a new Alexa application and follow the instructions in the official SDK. Note: Use the certificate (server.crt) you created in the first step.
  6. As intent and sample utterances, use the contents of IntentSchema.json and SampleUtterances.baf

That's it!

Say to your alexa "alexa open ruby" and Alexa will query your endpoint, and the sample app will say back "Hello, Rubby is running ready"!

Troubleshooting

There are two sources of troubleshooting information: the Amazon Echo app/website and the EBS logs that you can get from the management console.

  • "Error in SSL handshake" : Make sure your used the FQDN when you generated the SSL and it's also the active SSL in EBS.
  • "Error communicating with the application" : Query the EBS logs from the management console and create an issue on GitHub.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.