An starter project template for creating Alexa Skills and Google Actions and makes use of the ASK CLI and the Jovo Framework for Node.js. A single code base is hosted in Lambda and can be used by devices that support Amazon Alexa or Google Assistant.
-
Install Node.js version 6.10 or confirm the correct version is installed:
$ node --version
-
Install ASK CLI:
$ npm install -g ask-cli
If you are using Linux, the installation may require
sudo
:$ sudo npm install -g ask-cli
-
Init ASK CLI to configure the
default
profile:$ ask init
If you used a profile other than the default one, there will be additional changes needed to use this template.
-
Clone project repository, specifying the skill name following the
org-skillname
pattern. You need to runnpm install
in thelambda/custom
folder.$ git clone --depth=1 https://github.com/rmtuckerphx/ask-cli-jovo-starter org-skillname $ cd org-skillname/lambda/custom $ npm install
-
Change the organization and skill name in the
.ask/config
file:11 "uri": "org-skillname-default"
-
If using a ASK CLI profile other than
default
, renamedefault
to the profile name in lines 3 and 11 of.ask/config
1 { 2 "deploy_settings": { 3 "default": { 11 "uri": "org-skillname-default"
-
Before issuing any ASK CLI commands, change directory back to the project root (same folder as
skill.json
) -
Deploy the project:
$ ask deploy