diff --git a/README.md b/README.md new file mode 100644 index 0000000..c2822c3 --- /dev/null +++ b/README.md @@ -0,0 +1,16 @@ +# MyChart Calls + +A Django video-call demo that lets multiple users join the same room through the Agora Web SDK. + +## Setup + +```bash +python -m pip install -r requirements.txt +export AGORA_APP_ID="your-agora-app-id" +export AGORA_TEMP_TOKEN="optional-room-token" +python manage.py runserver +``` + +Open `http://127.0.0.1:8000`, enter a room name and display name, then share the same room name with other participants. + +`AGORA_TEMP_TOKEN` can be empty for tokenless Agora projects. If your Agora project requires tokens, generate a temporary token for the channel and set it before starting Django. diff --git a/base/templates/base/lobby.html b/base/templates/base/lobby.html index a390c32..9cce5b4 100644 --- a/base/templates/base/lobby.html +++ b/base/templates/base/lobby.html @@ -9,6 +9,15 @@
A group calling application for you
+ -{% endblock content %} \ No newline at end of file +{% endblock content %} diff --git a/base/templates/base/main.html b/base/templates/base/main.html index 95642cb..2cf3aae 100644 --- a/base/templates/base/main.html +++ b/base/templates/base/main.html @@ -9,11 +9,17 @@ + {% block head %} + {% endblock head %} -