Back-end chess AI for andrewmacheret/chess.
See andrewmacheret/chess-server for the previous version that runs on Docker.
Installation requires a UNIX environment with:
- Bash
- Node.js
- An Amazon Web Services account
Run aws-setup.sh to install AWS command line tools and create an AWS Lambda Function. (It will run aws configure
, so have an key id and access key ready)
Run aws-update-lambda.sh after further changes to source code to update the AWS Lambda Functon with the new source code.
You may also want to:
- Create an API gateway with AWS API Gateway, and connect it to the AWS Lambda Function
- Create a new certificate with AWS Certificate Manager for use with AWS API Gateway (for HTTPS)
- Create a new custom domain in AWS API Gateway (for HTTPS, and/or to put on your domain)
- Create a CNAME record with your domain name provider (for HTTPS, and/or to put on your domain)