diff --git a/README.md b/README.md index 3974495..7d32e6f 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,9 @@ An RTM and RTC Token generator for Agora written in Go.
This is directly from a tutorial on the [Agora Blog](https://www.agora.io/en/blog/how-to-build-a-token-server-using-golang) with a few modifications. +## One-Click Deploy to Heroku +[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy) + ## Project Setup 1. Clone the repository 2. Install the project dependencies diff --git a/app.json b/app.json new file mode 100644 index 0000000..5333574 --- /dev/null +++ b/app.json @@ -0,0 +1,23 @@ +{ + "name": "Agora Token Server", + "description": "An RTC and RTE Agora token generator implemented in Go", + "repository": "https://github.com/Mupati/agora-token-generator-in-go", + "logo": "https://www.agora.io/en/wp-content/themes/agora-2020/images/agora-logo.svg", + "keywords": ["agora", "RTC", "RTE", "Go", "video call", "video chat"], + "env": { + "APP_ID": { + "description": "Your Agora APP_ID" + }, + "APP_CERTIFICATE": { + "description": "Your Agora APP_CERTIFICATE" + }, + "PORT": { + "description": "The Port the webserver should run on", + "value": 8080 + }, + "APP_ENV": { + "description": "App environment", + "value": "production" + } + } +}