项目作者: digris

项目描述 :
open broadcast - platform
高级语言: JavaScript
项目地址: git://github.com/digris/openbroadcast.org.git
创建时间: 2014-10-20T18:56:04Z
项目社区:https://github.com/digris/openbroadcast.org

开源协议:GNU General Public License v3.0

下载


open broadcast - platform

Actions Status

Development Installation

  1. cd ~/code
  2. git clone git@github.com:digris/openbroadcast.org.git openbroadcast.org

Dependencies

System Libraries & Utilities

  1. # dfn
  2. # utilities
  3. sudo dnf install \
  4. lame \
  5. sox \
  6. faad2 \
  7. ffmpeg
  8. # libraries
  9. sudo dnf install \
  10. libsndfile \
  11. libsndfile-devel

Tooling

Python

  1. pyenv install 2.7.18
  2. pyenv local 2.7.18
  3. poetry env use python2.7
  4. poetry install

Node

  1. nvm use v14
  2. yarn install

Backing Services

Backing services can be run using docker-compose:

  1. docker-compose -f ./docker/docker-compose.yml up --build

Build Release

  1. # requirements
  2. poetry export \
  3. -f requirements.txt \
  4. --output requirements.txt
  5. # build assets
  6. yarn dist
  1. # or via make
  2. make build

Deploy (DEPRECIATED)

Deployment is handled via ansible: obp-infrastructure

  1. cd obp-infrastructure/ansible
  2. ./deploy.sh

Deploy (HACK)

Due to the situation of a completely outdated environment ansible cannot be used anymore.
For now deployment has to be done “manually” directly on the server(s).