Alexa that tells nerdy jokes.
Firstly, get a public url using ngrok or localtunnel or anything that can expose your local to the world.
Then, on AWS Alexa skill console,
- Under Configuration, set the Service Endpoint to your local entry point, e.g.
https://xxxxxxxx.ngrok.io/echo/nerdyjokes
- Under Test, there is a Service Simulator. Enter an utterance, then click Ask Nerdy Jokes.
- Install required add-ons
heroku addons:create heroku-postgresql:hobby-dev
- Set the environment variables
heroku config:set ALEXA_SKILL_APP_ID=amzn1.ask.skill.xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
heroku config:set GOVERSION=go1.8 # Optional, heroku will set the default to latest it has
heroku config:set GO_INSTALL_PACKAGE_SPEC=./ # Optional
heroku config:set PORT=5000