Skip to content

Latest commit

 

History

History
62 lines (46 loc) · 1.75 KB

README.md

File metadata and controls

62 lines (46 loc) · 1.75 KB

Ver.bot


Build Status Donate

Ver.bot webhook part.

Notify part in here.

Deploy by yourself

NOTE: You should deploy the same major version as notify part.

  1. install dependency
npm i
  1. before deploy to AWS, install AWS CLI and configure it.

  2. create AWS dynamoDB tables.

aws dynamodb create-table --cli-input-json file://aws/dynamodb/project.json
aws dynamodb create-table --cli-input-json file://aws/dynamodb/project_detail.json

And if you want to publish your Slack APP, you should store user Oauth tokens.

aws dynamodb create-table --cli-input-json file://aws/dynamodb/slack_oauth_token.json
  1. create, update, configure tokens or destroy it.
npm run create
npm run update
npm run configure-slack
npm run configure-telegram
npm run configure-skype
npm run destroy

You can use tools like ntl to avoid typing. Now, AWS API gateway and AWS Lambda are all set!

Default deploy region is us-east-1. For more tweaking information in package.json, refer to Claudia docs.

LICENSE

AGPL-3.0