Skip to content

Commit

Permalink
Add heroku one-click button
Browse files Browse the repository at this point in the history
  • Loading branch information
Mupati committed Aug 17, 2021
1 parent 33cc055 commit 6580989
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
An RTM and RTC Token generator for Agora written in Go.<br/>
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
Expand Down
23 changes: 23 additions & 0 deletions app.json
Original file line number Diff line number Diff line change
@@ -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"
}
}
}

0 comments on commit 6580989

Please sign in to comment.