Giter Site home page Giter Site logo

aws-samples / aws-alexa-workshop Goto Github PK

View Code? Open in Web Editor NEW
25.0 8.0 23.0 28.77 MB

Learn how to build Alexa Skills with AWS Services.

Home Page: https://alexaworkshop.com

License: MIT No Attribution

HTML 18.69% CSS 47.39% Dockerfile 0.45% Python 6.71% JavaScript 26.76%

aws-alexa-workshop's Introduction

AWS & Alexa Workshop

Welcome to AWS & Alexa Workshop!

The goal of this workshop is learn how to build Alexa Skills using AWS Services. To access the workshop content, please visit

https://alexaworkshop.com

In this workshop, you will learn:

  1. How to build an Alexa Custom Kill
  2. How to build an Alexa-enabled Lamp using Smart Home Skill
  3. Implement Alexa Account Linking

Setup:

The workshop website is built on Hugo. You do NOT need to install Hugo and clone this repo if you want to run this workshop. The following step is ONLY used to build the workshop material itself and run a localhost version of the content.

Install Hugo:

On a mac:

brew install hugo

On Linux:

Clone this repo:

From wherever you checkout repos: git clone [email protected]:aws-samples/aws-alexa-workshop.git (or your fork)

Clone the theme submodule:

cd aws-alexa-workshop
cd workshop

Run Hugo locally:

Run hugo server -D, and open http://localhost:1313/ in your browser. or

Run hugo will build your content locally and output to ./public/

Repo structure

.
├── metadata.yml                      <-- Metadata file with descriptive information about the workshop
├── README.md                         <-- This instructions file
├── deck                              <-- Directory for presentation deck
├── resources                         <-- Directory for workshop resources
│   ├── code                          <-- Directory for workshop modules code
│   ├── policies                      <-- Directory for workshop modules IAM Roles and Policies
│   └── templates                     <-- Directory for workshop modules CloudFormation templates
└── workshop                          
    ├── buildspec.yml                 <-- AWS CodeBuild build script for building the workshop website (Note this is being deprecated in favour of automated builds within the workshops.aws platform. You shouldn\'t need to touch this file)
    ├── config.toml                   <-- Hugo configuration file for the workshop website
    └── content                       <-- Markdown files for pages/steps in workshop
    └── static                        <-- Any static assets to be hosted alongside the workshop (ie. images, scripts, documents, etc)
    └── themes                        <-- AWS Style Hugo Theme (Do not edit!)

What's Included

This project the following folders:

  • deck: UNUSED RIGHT NOW Future location to store your presentation materials. For now, you should store them centrally in a system like KnowledgeMine or Wisdom.
  • resources: UNUSED RIGHT NOW Store any example code, IAM policies, or Cloudformation templates needed by your workshop here.
  • workshop: This is the core workshop folder. This is generated as HTML and hosted for presentation for customers.

aws-alexa-workshop's People

Contributors

dependabot[bot] avatar joeshi avatar jpeddicord avatar massi-ang avatar salander0411 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

aws-alexa-workshop's Issues

Missing <speak>

Missing opening speak ( ) in line 93 in aws-alexa-workshop-ask/alexa-lambda-personal-banker.js.

Can't discover virtual device

I setup a virtual device named acedia_ratchet step by step according tutorials, when I test-shadow with $aws/things/acedia_ratchet/shadow/update, the shadow message always show "Hello from AWS IoT console". But I can bind device successfully.

Then I go on until Step 9 DISCOVER SMART HOME DEVICES, I can't discover my device. I check tutorials and my workshop again, it seems all right.

Can you give me some suggesttions to discovery device?

Thanks!

CREATE COGNITO USER POOL APP CLIENT - ERROR AUTH IN ALEXA SKILL

I did the tutorial, but when I run the command $aws/things/lamp/shadow/name/update it just doesn't work, it just returns: "Hello from AWS IoT console".

I accessed the myurl.amplifyapp.com link, registered and logged in, but it returns a blank page with ERROR and at the top of the page the menu.

Please help me.

I cant able to find any devices. why I am trying to discover devices.

I setup a virtual device named acedia_ratchet step by step according tutorials, when I test-shadow with $aws/things/acedia_ratchet/shadow/update, the shadow message always show "Hello from AWS IoT console". But I can bind device successfully.

Then I go on until Step 9 DISCOVER SMART HOME DEVICES, I can't discover my device. I check tutorials and my workshop again, it seems all right.

Can you give me some suggestions to discovery device?

Bug in ASK

明天我完整验证完了会发起pull request, mark for myself


0-1.create-lex-manually.zh.md/ 0-1.create-lex-manually.md

  1. 接下来,不用重新创建slot types,在slot直接输入:
    Required: 不勾选 ( 这里应该是勾选)
    Name: LoanType
    Slot Type: LoanType (从下拉菜单中选择)
    Prompt: Which loan type?

  2. Add a slot (this allows us to get the loan type that the user wants to query) with the following values
    Required: unselect the checkbox (should be select)
    Name: LoanType
    Slot Type: LoanType (select from the drop-down list)
    Prompt: Which loan type?

Backend Build Error

Build log reports the following.

2020-07-28T04:02:28.740Z [INFO]: Failed to compile.
2020-07-28T04:02:28.742Z [INFO]: ./src/Device.js
Cannot find module: 'aws-amplify-react/src/API/GraphQL/Connect'. Make sure this package is installed.
You can install this package by running: yarn add aws-amplify-react/src/API/GraphQL/Connect.
2020-07-28T04:02:28.763Z [WARNING]: error Command failed with exit code 1.
2020-07-28T04:02:28.765Z [INFO]: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
2020-07-28T04:02:28.770Z [ERROR]: !!! Build failed
2020-07-28T04:02:28.957Z [ERROR]: !!! Non-Zero Exit Code detected

tab & folded content

(1) tab anchor direct in 7.create lambda fails.. don't know how to solve this

If you are familiar with Serverless Framework, you can
go direct to [Option 2: Deploy via Serverless Framework]({{< relref "#deploy-via-serverless-framework" >}})

(2) suggest add folded function for challenge part.

Missing </speak>

In file aws-samples/aws-alexa-workshop-ask/alexa-lambda-personal-banker.js line 104 is missing closing speak tag at the end of the line. Thank you!

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.