From 185787f5aa57cbd1040fd3c8048d1b49d2c4dbb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gon=C3=A7alo=20Val=C3=A9rio?= Date: Fri, 22 Mar 2019 11:15:12 +0000 Subject: [PATCH] added deploy on heroku button --- Procfile | 1 + README.md | 9 +++++++-- app.json | 13 +++++++++++++ 3 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 Procfile create mode 100644 app.json diff --git a/Procfile b/Procfile new file mode 100644 index 0000000..8c1be7d --- /dev/null +++ b/Procfile @@ -0,0 +1 @@ +web: daphne webhook_logger.asgi:application diff --git a/README.md b/README.md index 47406a6..f20b85b 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,18 @@ # Webhook Logger +**CI Status**: [![CircleCI](https://circleci.com/gh/dethos/webhook_logger.svg?style=svg)](https://circleci.com/gh/dethos/webhook_logger) This pet project is a simple webhook logger built to test `django-channels`. It works in a way very similar to [Webhook tester](https://webhook.site). -Feel free to fork and play with it. +You create a callback url by visiting the main page, then you use that URL as your webhook callback, all the requests made to it will be displayed on your browser for inspection in real-time. -# Setup development environment +Feel free to fork, [play with it on the current website](https://webhook-logger.ovalerio.net) or if you prefer launch your own instance (the below button will do it for your without any extra effort). + +[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy) + +## Setup development environment To run the project locally you just need to have a machine with `python` and `pipenv` installed then: diff --git a/app.json b/app.json new file mode 100644 index 0000000..397a426 --- /dev/null +++ b/app.json @@ -0,0 +1,13 @@ +{ + "name": "Webhook Logger", + "description": "Small app that provides callback urls to test webhooks", + "repository": "https://github.com/dethos/webhook_logger", + "keywords": ["python", "django", "django-channels", "webhooks"], + "addons": ["heroku-redis:hobby-dev"], + "env": { + "SECRET_KEY": { + "description": "Django Secret key settings", + "generator": "secret" + } + } +}