Alexa Skill and backing Lambda for The Queen's Mirror, a Skill used by my family to reveal a dining reservation to our children.
This repository contains the intent necessary to set up the Alexa Skill as well as everything you need to deploy the Lambda.
I'd recommend having pipenv
and pyenv
installed and knowing how they work.
It's necessary to first collect and package all the dependencies:
$ git clone git@github.com:crd/the-queens-mirror.git
$ cd the-queens-mirror/lambda/py
$ pipenv sync
$ cd $(eval pipenv --venv)/lib/python3.6/site-packages/
$ zip -r9 the-queens-mirror.zip .
Next add the lambda itself to the .zip file:
$ zip -g the-queens-mirror.zip lambda_function.py
You're now ready to upload the .zip file to the Lambda console.