Skip to content

Command Line Tools

Jason Curran edited this page Aug 22, 2018 · 10 revisions

AWS CLI

  1. install aws cli using pip install awscli --upgrade --user (Linux)
  2. Make sure an IAM user is created and has access to AWS services.
  3. Configure aws-cli using aws configure. See here for help. We use region us-east-1
  4. 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.


ASK CLI

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: