Skip to content
Snippets Groups Projects
Select Git revision
  • test
  • main default protected
  • qa protected
  • fix_migrations_mysql
  • feature/add-ffmpeg
  • cds_weblecture_player2
  • feature/add-opencast-request-paths
  • feature/video-preview-script
  • qa-cds
  • fix_chairs
  • add_encoders_api
  • cds_weblecture_player
  • cds_changes_endpoint
  • remove_snow_fields
  • feature/remove_contact_type_snow
  • feature/use_streamlock
  • feature/add_datetime_ttaas
  • feature/remove_verbose_log
  • feature/add_poetry
  • sort-events-last-updated
20 results

webcast-central-encoder

  • Clone with SSH
  • Clone with HTTPS
  • Clone with KRB5
  • Rene Fernandez Sanchez's avatar
    Rene Fernandez Sanchez authored
    Handle "'" in emails in ttaas service
    
    See merge request webcast/webcast-central-encoder!305
    23baf67d
    History

    Webcast Central Encoding System (CES)

    This application is used to control the encoders in the rooms (Matrox devices) and handle the publication of a video to Opencast.

    Technologies

    • Python 3.6

    • Flask

    • Celery

    • Redis

    • Filebeat

    Dependencies

    • Cernmedia servers (cernmedia33)
    • Opencast
    • Indico
    • CDS
    • Gitlab
    • Harbor

    Docs

    Documents

    Development

    Using Docker

    docker compose up
    docker compose run web bash
    docker stop $(docker ps -a -q)

    Using local development

    Required Python version: 3.8.x (Other version might require changes on the requirements)

    python3 -m venv ./env

    Initialize the database

    Run the following command to create the tables in the database

    flask db upgrade

    Updating the database

    If for some reason there are changes in the models, you can you the following commands in order to update the database"

    cd app
    flask db migrate -m "message"
    flask db upgrade

    This actions needs to be don on all the databases affected.

    If for some reason, the command doesn't finish, it is possible to run the SQL manually:

    flask db upgrade --sql

    The command above will output the SQL, that can be used on the SQL editor.

    Configuration

    Configuration parameters can be reviewed on the secret/config.sample.py file.