Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Raspberry Pi Zero W Wireless Projects

You're reading from   Raspberry Pi Zero W Wireless Projects Go mobile with the world's most popular microprocessor

Arrow left icon
Product type Paperback
Published in Aug 2017
Publisher Packt
ISBN-13 9781788290524
Length 240 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Vasilis Tzivaras Vasilis Tzivaras
Author Profile Icon Vasilis Tzivaras
Vasilis Tzivaras
Arrow right icon
View More author details
Toc

Installing Alexa

Now, we need to open two different terminals and run some commands. In the first terminal, we will authorize our sample application with AVS. To do this, you can run the following command:

 cd /alexa-avs-sample-app/samples
cd companionService && npm start

If you do not have npm installed, you can install it by running the following command:

 sudo apt-get install npm  

You can see tha,t after running these commands, the server will run on port 3000.

In a new terminal window and without closing the first one, we will run the sample app that communicates with AVS. To do this, first cd to the samples folder as before, and then, use the mvm command:

 cd alexa-avs-sample-app/samples
cd javaclient && mvn exec:exec

At this point, you should see a pop-up message that says, Please register your device by visiting the following URL in a web browser and...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at R$50/month. Cancel anytime