Telar CLI - Setup Telar Social on OpenFaaS

March 2, 2021 ยท View on GitHub

Step 9 (Websocket)

We are using socket.io to handle realtime data. We provided a websocket server running on Heroku. Setup websocket server following bellow steps. We assumed you have Heroku account logged in already.

1. Go to ts-websocket repository and click on Deploy to Heroku.

2. You will be redirected to Heroku website. Type your app name and click on Deploy app.

3. Click on Manage App then click on Settings tab. Find Config Vars and click on Reveal Config Vars.

4. Add following Key/Value in your app. Copy your payload secret from Telar CLI.

5. Back in the Telar CLI, enter your Heroku websoket app URL.