GithubHelp home page GithubHelp logo

bastianjoel / openslides-media-service Goto Github PK

View Code? Open in Web Editor NEW

This project forked from openslides/openslides-media-service

0.0 0.0 0.0 148 KB

Media service for OpenSlides 3+

License: MIT License

Shell 4.50% Python 89.02% Makefile 3.53% Dockerfile 2.95%

openslides-media-service's Introduction

openslides-media-service

Media service for OpenSlides 4

Delivers media files and resources for OpenSlides. It stores the data in the database.

Configuration

  • MEDIA_DATABASE_HOST: Host of the database (default: postgres)
  • MEDIA_DATABASE_PORT: Port of the database (default: 5432)
  • MEDIA_DATABASE_NAME: Name of the database (default: openslides)
  • MEDIA_DATABASE_USER: Name of the database user (default: openslides)
  • MEDIA_DATABASE_PASSWORD_FILE: Path to the (secret) file, which contains the password (default: /run/secrets/postgres_password; in dev mode the password is always assumed to be openslides)
  • BLOCK_SIZE: The size of the blocks, the file is chunked into (default: 4096)
  • PRESENTER_HOST: Host of the presenter service (default: backend)
  • PRESENTER_PORT: Port of the presenter service (default: 9003)

Production setup

Use the provided Dockerfile. It creates the tables in Postgresql, if they don't exist before startup.

Development

We use docker to run the code.

The command make run-tests runs the tests. The command make run-cleanup runs the code cleanup (black, isort, flake8).

openslides-media-service's People

Contributors

emanuelschuetze avatar finnstutzenstein avatar gsiv avatar jsangmeister avatar normanjaeckel avatar peb-adr avatar reiterl avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.