开发者控制台
感谢您的访问。此页面目前仅提供英语版本。我们正在开发中文版本。谢谢您的理解。

Step 2: Install, Build, and Deploy the Reference Video Skill (VSK Echo Show)

Follow these steps to install all the necessary components for building and deploying the reference video skill.

Step 2.1: Download the Multi Modal Reference Software Project

Clone the project's GitHub repo located at https://github.com/alexa/alexa-video-multimodal.

Step 2.2: Build the Project

Before you proceed, make sure that your computer environment meets all the necessary requirements. Then, follow these steps:

  1. On your computer, navigate to your project's folder.
  2. In that folder, open PowerShell (Windows) or a terminal (macOS) as administrator.
  3. Run cd infrastructure.
  4. Run npm run release.

Step 2.3: Use the CLI Tool

  1. Run this CLI command in your PowerShell (Windows) or terminal (macOS). Depending on your OS, copy, paste and run one of the following:

    Windows
    node ./dist/bin/alexa-video-infrastructure-cli --init
    
    macOS
    ./dist/bin/alexa-video-infrastructure-cli --init
    
  2. Go through the prompts:

    • Use a project name, such as testskill.

    • Enter a skill name, such as test skill echo show. (This can be different than your project's name).
    • Use the arrow keys to pick a distribution country, such as United States, and press enter.
    • Use space to select one or more locales, for example en-US.
    • Press enter to proceed.
    • Enter the path to the project's root folder.
    • Enter your security profile client id.
    • Enter your security profile client secret.
    • Enter your AWS Access Key ID.
    • Enter your AWS Access Secret Access Key.
    • Copy and paste the provided url to your browser to get an authorization code.
    • If needed, use your credentials to the developer console and allow access to sign in to your security profile if requested.
    • Paste back the authorization code to the PowerShell or terminal.

  3. To deploy the video skill, run your second CLI command in your PowerShell or terminal:

    Windows
    node ./dist/bin/alexa-video-infrastructure-cli --deploy
    
    macOS
    ./dist/bin/alexa-video-infrastructure-cli --deploy
    

Your Content and Video Skill

If you want to have a look at the video content, go to your S3 buckets in the AWS console and navigate to the one that was created most recently. You can view the sample video content under the content folder.

Your video skill S3 bucket
Your video skill S3 bucket

You might also want to have a look at your newly created skill in the Alexa developer console.

Your video skill in Alexa developer console
Your video skill in Alexa developer console

Click Edit to see its settings. You might also want to update the background and the Logo image, under the Language Specific Configuration section.

Your video skill Logo and Background Image
Your video skill Logo and Background Image

Next Steps

Go on to the final step: Step 3: Test Your Reference Video Skill on an Echo Show Device.


Last updated: Oct 29, 2020