This is a Flowdock bot. It uses AWS DynamoDB and AWS Lambda to check if there are new mentions and it responds to them if the date is between some values stored in DynamoDB configuration.
Unfortunately we have to work with Cognito which is not supported by CloudFormation, so we have to split the work
- Make sure you have:
- Docker installed;
- an AWS account;
- client ID of a Google+ API approved Google Dev Console application;
- a Flowdock account (optional, unless you really want to use it and not just experiment with it).
- rename
personal.env.template
topersonal.env
and introduce adequate values, as explained in it - run
make prepare
to download extra tooling from internet to igor's dir - run
cmd/main/cf/non_supported_pre.sh
to update thepersonal.env
- open your email and approve requested certificate
- deploy to AWS with
make form
(take note: this will take awhile) - run
cmd/main/cf/non_supported_post.sh
to do finishing steps in configuration and deploy the site
From this point on you can modify HTML and do make deploy-site
to replace the cloud.
Other things you want to do are like:
- update function only with
make lambda-update
- invoke directly via
make lambda-invoke
Open the index.html
which should be in the S3 and login using your Google credentials. Configure the application. Profit
I've drawn a small UML diagram explaining how it all works in case you want to use or extend it: