git clone https://github.com/pimlock/whats-your-name.git
cd whats-your-namepip install -r dev-requirements.txtvirtualenv venv
source venv/bin/activateThis step requires your AWS credentials to be set up:
- as
export AWS_ACCESS_KEY_ID=""; export AWS_SECRET_ACCESS_KEY="" - stored in
~/.aws/credentials
Create required S3 buckets:
- Where CloudFormation will upload Lambda code to (
CODE_DEPLOYMENT_BUCKET)
# this bucket is where the zip file with AWSLambda code will be uploaded (it's used by CloudFormation to deploy Lambda)
export CODE_DEPLOYMENT_BUCKET=my-bucket
# creates deployable package for CloudFormation
scripts/package.sh
export REKOGNITION_COLLECTION_ID=collection-id
export FACES_BUCKET_NAME=bucket-name
# creates/updates the CloudFormation stack
scripts/deploy.sh© 2018 Piotr Mlocek. This project is licensed under the terms of the MIT license.