djangocoturn 0.3.1
Django Coturn is a Django app to synchronize django admins/users with Coturn’s user database. Coturn is an open-source STUN/TURN/ICE server.
https://github.com/coturn/coturn
Quick start
Add “coturn” to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [
...
"django_coturn",
]
Create an empty coturn database
Configure the following in your settings.py:
DATABASES = {
... your default and auxilary database configs
"coturn": env.db("COTURN_DATABASE_URL")
}
COTURN_REALM = "turn.example-domain.com"
COTURN_SECRET_KEY = "127 character secret"
Run python manage.py migrate to create the coturn models.
Run python manage.py sync_coturn {turn_secret,turn_admin,turn_user} to sync users/admin data to coturn tables. You only need to do this once per table - subsequent updates will be handled by Django signals.
Contributor’s Guide
Create a development environment (requires docker & docker-compose):
make dev
Run tests and generate a coverage report:
make tests
Run black linter:
make lint
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.