A Twitter text adventure.
To run:
- Pull down the repo.
- Get some tokens from Twitter and set them up as environment variables.
- Run
python bot.py
.
To deploy:
- Make sure you have AWS CLI installed and configured.
- Run
sh deploy.sh
.
This will automatically bundle up the function and dependencies and deploy it to AWS Lambda.
Note that psycopg2
are not included in the deployment bundle. They must
be added as layers to the Lambda function. Add them using the ARN here: Layers for Python 3.9.