Initial Setup

  1. Get access from @Will Weiss

  2. Log in at heroku.com

  3. Access https://dashboard.heroku.com/apps/virtual-hospitals-africa

    Untitled

Environment variables

You can view the production environment variables at https://dashboard.heroku.com/apps/virtual-hospitals-africa/settings

Please see Manual Local Setup if you’re interested in setting up your .env files manually

Logs

Accessible via Papertrail

If you have the Command Line Interface, you can run

$ heroku logs --tail
2023-04-30T19:43:19.614495+00:00 heroku[token_refresher.1]: Starting process with command `DENO_TLS_CA_STORE=system deno run -A --unsafely-ignore-certificate-errors tokenRefresher/tokenRefresher.ts`
2023-04-30T19:43:19.632060+00:00 heroku[web.1]: Stopping all processes with SIGTERM
2023-04-30T19:43:19.669463+00:00 heroku[web.1]: Starting process with command `DENO_TLS_CA_STORE=system deno run -A --unsafely-ignore-certificate-errors main.ts`
2023-04-30T19:43:19.893762+00:00 heroku[web.1]: Process exited with status 143
2023-04-30T19:43:20.056020+00:00 heroku[chatbot.1]: Starting process with command `DENO_TLS_CA_STORE=system deno run -A --unsafely-ignore-certificate-errors chatbot/chatbot.ts`
2023-04-30T19:43:20.164510+00:00 heroku[token_refresher.1]: State changed from starting to up
2023-04-30T19:43:20.647859+00:00 heroku[chatbot.1]: State changed from starting to up
2023-04-30T19:43:20.822728+00:00 app[token_refresher.1]: DANGER: TLS certificate validation is disabled for all hostnames
2023-04-30T19:43:20.890730+00:00 app[token_refresher.1]: Download <https://deno.land/x/[email protected]//server.ts>
2023-04-30T19:43:21.021724+00:00 app[web.1]: DANGER: TLS certificate validation is disabled for all hostnames
2023-04-30T19:43:21.071730+00:00 app[token_refresher.1]: Deno.env.get("SELF_URL") <https://virtual-hospitals-africa.herokuapp.com>
2023-04-30T19:43:21.080497+00:00 app[web.1]: Download <https://deno.land/x/[email protected]//server.ts>
2023-04-30T19:43:21.290924+00:00 app[web.1]: Deno.env.get("SELF_URL") <https://virtual-hospitals-africa.herokuapp.com>
2023-04-30T19:43:21.313058+00:00 app[web.1]: Listening on <http://localhost:45637/>
2023-04-30T19:43:21.355879+00:00 heroku[web.1]: State changed from starting to up
2023-04-30T19:43:22.619294+00:00 app[chatbot.1]: DANGER: TLS certificate validation is disabled for all hostnames
2023-04-30T19:43:22.786883+00:00 app[chatbot.1]: Download <https://deno.land/x/[email protected]//server.ts>
2023-04-30T19:43:22.954110+00:00 app[chatbot.1]: Deno.env.get("SELF_URL") <https://virtual-hospitals-africa.herokuapp.com>

Command Line Interface

It is recommended that you get the CLI

  1. Run heroku login

  2. Log in, setting up multifactor authentication along the way

  3. After cloning the repository from Github, add heroku as a remote

    heroku git:remote -a virtual-hospitals-africa