Description
Related to #3.
-
-
- Creating an ngrok tunnel:
-
This is done via python package "pyngrok" (`pip install pyngrok`).
```
import pyngrok
pyngrok.ngrok.kill()
- ^ kill existing tunnels
pyngrok.ngrok.set_auth_token (<user_ngrok_authtoken>)
tunnel_url = pyngrok.ngrok.connect(8086, bind_tls=True)
```
At this moment, in the MVP, the ngrok_authtoken is obtained manually by creating an account on ngrok and copying the token to `.env` file.
In future, we should use Ngrok API to create a user with Qt account email address and obtain the token also using the Ngrok API.
Another alternate of this process is to ask the user to create an account and paste their `ngrok_authtoken` in the #4 (Configuration wizard).