bennybauer / Ketchapp

Your Pomodoro mentor!

Home Page:http://bennybauer.github.io/Ketchapp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ketchapp

Your Pomodoro mentor! Ketchapp is a Slack app that helps your focus to catch up with your work.

Add to Slack

Development

Install Node.js

brew install node

Install Serverless

npm install -g serverless

Create serverless project

sls project create

Create serverless function

sls function create functions/ketchapp_handler

Implement it and deploy

sls dash deploy

Usage

Install Node.js

brew install node

Install Serverless

npm install -g serverless

Clone this repository

git clone https://github.com/bennybauer/Ketchapp.git

Set up your AWS credentials

Add admin.env file to root folder with:

AWS_DEV_PROFILE=<your aws profile>

Add s-variables-common.json file to _meta/variables folder:

{
  "project": "ketchapp",
  "slackAppName": "Ketchapp",
  "slackVerificationToken": "<your_verification_token>",
  "slackAppId": "<your_app_id>",
  "slackAppSecret": "<your_secret>",
  "slackAppRedirectUri": "</slack-oauth lambda url>"
  "slackAppWelcomePage": "<app_welcome_page>"
}

Create the dependencies packages:

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

Deploy it!

sls dash deploy

###Credits### Ketchup icon was made by freepik from www.flaticon.com

About

Your Pomodoro mentor!

http://bennybauer.github.io/Ketchapp


Languages

Language:Python 100.0%