/telemed

Primary LanguageTypeScript

Aidbox Telemedicine Application

Prerequisites

STEP 1: Environment and Aidbox license

cp .env.tpl .env

As a result you have the .env file that contains default settings.

Make sure that you set AIDBOX_LICENSE key inside .env

Email service (Mailgun)

for the email messaging feature we need to provide next variables

MAILGUN_DOMAIN=<domain.mailgun.org>
MAILGUN_PRIVATE_KEY=<token>
MAILGUN_FROM=<support@domain>

Video call service (Twilio)

for the video call feature we need to provide next variables

TWILIO_SID=<account-sid>
TWILIO_KEY=<token-id>
TWILIO_SECRET=<token-secret>

STEP 2: Install dependencies

cd backend && pnpm i && cd ../frontend && pnpm i

As a result both folders backend and frontend should contain node_modules

STEP 3: Run aidbox and backend in Docker

docker compose up

As a result you should have 3 healthy containers: aidbox aidbox-db backend

STEP 4: Run frontend

cd frontend && pnpm run dev