Setting up Raspberry Pi

Before installing everything on our Raspberry Pi Zero W board, we need to download the latest distribution of Raspbian on our computer and use any kind of tool that works to install the software on our SD card. After this, we need to insert the SD card to the Raspberry Pi and power it on. We will use a GitHub repository for the next step. So, open up a terminal and type the following command:

    git clone https://github.com/alexa/alexa-avs-sample-app.git  

With the preceding command, you clone the repository alexa-avs-sample-app on your local computer. In this repository, you need to find the installation script and execute it, but before this, you need to make some changes. While creating our developer account and setting this up, we went through three important fields. So, we need to find ProductID, ClientID, and ClientSecret. After we have found these values, edit the automated_install.sh file using your favorite editor and change the appropriate fields. As a result, it should look like this:

ProductID="RaspMyExample″
ClientID="amzn.xxxxx.xxxxxxxxx"
ClientSecret="2662rge4xxxxxxxxxxxxxxxxxxxxxxxxxxxxx6b4f9"

Next, you will need to run the script. This installation script will install all the dependencies. To run the script, you have to first open a terminal, and after navigating to the downloaded files, run the following command:

. automated_install.sh  
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.141.19.185