ifbbprochris / alexahomeskill

A docker image that provides a basic Node OAuth server for Alexa skills using the Alexa Smart Home Skill API.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

alexahomeskill

This docker image provides a basic Node OAuth server for Alexa skills using the Alexa Smart Home Skill API.

It's all in the Makefile. You'll need a conf.mk with the follwoing content to get started:

# conf.mk

EC2USER = ec2-user@ec2-123456.compute-1.amazonaws.com
EC2KEYPATH = "/Users/ec2/Documents/aws-private.pem"
DOCKERIMG = ec2/homeskill

Development & deployment

The run make local to start a local Docker image with the server available at http://localhost:9090. Run make log to inspect the node logs, run make stop to make it stop.

Running make deploy will upload all source files to your EC2 machine and start the Docker image there. It'll be available at port 9090 as well under the machine's hostname, e.g. ec2-123456.compute-1.amazonaws.com:9090.

About

A docker image that provides a basic Node OAuth server for Alexa skills using the Alexa Smart Home Skill API.


Languages

Language:JavaScript 76.7%Language:Makefile 13.2%Language:HTML 5.9%Language:Dockerfile 2.7%Language:CSS 1.5%