bennybauer / sls-slack-command

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sls-slack-command

Serverless Framework function for handling Slack application command.

Usage

In your Serverless Framework project:

sls function create functions/slack-command

Copy this repo into your Serverless Framework project.

Change s-variables-common.json.template to s-variables-common.json and fill it with the required settings.

If needed, tweak functions/slack-oauth/s-function.js to adhere to your desired redirect_uri endpoint.

Create the dependencies packages:

pip install -t functions/vendored/ -r requirements.txt

Deploy it!

sls dash deploy

About


Languages

Language:Python 100.0%