From 9abd72f25fa6a8a00594777214ae4e1680304d3f Mon Sep 17 00:00:00 2001 From: orliesaurus Date: Sun, 19 Apr 2015 15:45:41 +0200 Subject: [PATCH] Heroku deploy --- Procfile | 1 + README.md | 7 ++++++- app.json | 24 ++++++++++++++++++++++++ requirements.txt | 5 +++++ 4 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 Procfile create mode 100644 app.json create mode 100644 requirements.txt diff --git a/Procfile b/Procfile new file mode 100644 index 0000000..29cff6d --- /dev/null +++ b/Procfile @@ -0,0 +1 @@ +worker: python bot.py diff --git a/README.md b/README.md index edc3637..44c1b54 100644 --- a/README.md +++ b/README.md @@ -15,4 +15,9 @@ virtualenv greetingslack pip install requests pip install websocket-client python bot.py & -``` \ No newline at end of file +``` + +#Heroku +Deploy with a click supported now +[![Deploy](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy) + diff --git a/app.json b/app.json new file mode 100644 index 0000000..60a5d04 --- /dev/null +++ b/app.json @@ -0,0 +1,24 @@ +{ + "name": "GreetingSlack" + "description": "This app connects to your slack team and greets new joiners with a custom msg" + "keywords": [ + "productivity", + "Slack", + "bot" + ], + "website": "https://github.com/orliesaurus/greetingslack", + "repository": "https://github.com/orliesaurus/greetingslack", + "logo": "none", + "env": { + "SLACK-TOKEN": { + "description": "Your Slack API Token", + "value": "1234-12314123123-123123123", + "required": true + }, + "WELCOME-MESSAGE": { + "description": "Your Welcome message string", + "value": "A personalized welcome msg that is broadcasted to your Slack Users" +} + } + +} diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..c50d4d0 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,5 @@ +backports.ssl-match-hostname==3.4.0.2 +requests==2.6.0 +six==1.9.0 +websocket-client==0.29.0 +wsgiref==0.1.2