Skip to content
/ djnar Public

Webinar like app for your Django projects

License

MIT, GPL-3.0 licenses found

Licenses found

MIT
LICENSE
GPL-3.0
COPYING
Notifications You must be signed in to change notification settings

Brunux/djnar

Repository files navigation

django-webinar or djinar

Maintainability Test Coverage

WebRTC online meeting app

Development

Get the repo

$ git clone [email protected]:Brunux/djnar.git && cd djnar

Create a virtual environment with Virtualenv or use your favorite tool.

$ pip install virtualenv
$ virtualenv venv
$ source venv/bin/active

Install dependencies

$ pip install -r requirements/local.txt

Create a exclusive Postgres DB docker instance

$ docker run -d \
    --name djinar \
    -e POSTGRES_USER=django \
    -e POSTGRES_PASSWORD=4dm1n4dm1n \
    -e POSTGRES_DB=djinar
    -p 25432:5432
    postgres

Or update Django settings

# djinar/config/settings/local.py
...

DATABASES = {
    # Raises ImproperlyConfigured Exception
    # if DATABASE_URL Not in os.environ and
    # the "default" argument is not defined.
    # The DATABASE_URL environment variables
    # expect a value in the following format:
    # DATABASE_URL=postgres://user:password@hostname_or_ip:port/database_name
    "default": env.db(
        "DATABASE_URL", default="postgres://django:4dm1n4dm1n@localhost:25432/djinar"
    )
}

Apply migrations

$ python manage.py migrate

Run the tests with nice report

$ coverage run -m pytest

Check tests coverage

$ coverage report

Run development server

$ python manage.py runserver 0:8000

Open the webinar interface

http://localhost:8000/

For more information, see TODO.

About

Webinar like app for your Django projects

Resources

License

MIT, GPL-3.0 licenses found

Licenses found

MIT
LICENSE
GPL-3.0
COPYING

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages