-
-
Notifications
You must be signed in to change notification settings - Fork 47
Command Line Tools
Jason Curran edited this page Aug 22, 2018
·
10 revisions
- install
aws cli
usingpip install awscli --upgrade --user
(Linux) - Make sure an IAM user is created and has access to AWS services.
- Configure
aws-cli
usingaws configure
. See here for help. We use regionus-east-1
- Finally, run
python deploy_tools.py -p -f BostonData
. If everything runs well, you should see the following message:
Updating/uploading lambda code
<a bunch of text>
TRACINGCONFIG PassThrough
VPCCONFIG
DONE UPLOADING...
Note: The exact output text is dependent on your AWS CLI configuration, but if you see
DONE UPLOADING
you should be ok.
BostonInfo uses ASK CLI to programmatically upload and build the interaction model with deploy_tools.py
. This just automates the upload/build functions we've accessed through the Alexa skills console in the past.
To install the Amazon Skills Kit (ASK) command line interface, follow these instructions: https://developer.amazon.com/docs/smapi/quick-start-alexa-skills-kit-command-line-interface.html
Prerequisites:
- You'll need to have Node.js installed.
- [optional] If you'd like to use a version manager for Node, Node Version Manager (NVM) is a popular choice. They don't support Windows, but do list some Windows alternatives in the ReadMe.
- Node Package Manager (NPM) will be installed with Node and you will use this to install ASK CLI.
- You'll also need to create a user in Amazon's Identity and Access Manager (IAM). This provides ASK CLI access to your Alexa skills.