- Install Amazon ask-cli.
ask init
and follow directions.- Install Serverless
- Install python 3.6+ (managed using pyenv, for example)
- Install Pipenv and run
pipenv install
Start a pipenv shell session via pipenv shell
py.test -v tests/
You can run a simulation of a command against the deployed skill/lambda. This is run via the Alexa Skills Kit simulate. The start word "Alexa" is automatically prepended.
inv skill.simulate "ask ferry time for east river ferry service alerts"
=== Simulating: "ask ferry time for east river ferry service alerts"
=== Simulation Results:
Intent: GetServiceAlertsIntent
Slots: {'Route': {'value': 'east river ferry', 'matched_id': 'ER', 'matched_name': 'east river'}}
Response: Service Alerts Intent Response
Start a pipenv shell session via pipenv shell
inv lambda.deploy
inv skill.build-and-deploy