Skip to content

gkzz/event-news-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Event News Bot

Based on

TL;DR

Tweet by AWS Lambda and Serverless Framework

$ git clone https://github.com/gkzz/event-news-bot.git \
&& cd event-news-bot
$ aws configure
$ npm init
$ sudo npm install -g serverless
$ serverless create \
> --template aws-python3 \
> --name src \
> --path src
$ sudo npm install --save serverless-python-requirements
$ sudo npm install --save serverless-dotenv-plugin
$ sudo npm install --save serverless-offline
$ cat src/handler.py.tmpl > src/handler.py
$ cat config/.env.tmpl > config/.env
$ serverless deploy
$ tree -L 1
.
├── LICENSE
├── node_modules
├── package.json
├── package-lock.json
├── README.md
└── src

2 directories, 4 files

Releases

No releases published

Packages

No packages published