Skip to content

digris/openbroadcast.org

Repository files navigation

open broadcast - platform

Actions Status

Development Installation

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

Dependencies

System Libraries & Utilities

# dfn
# utilities
sudo dnf install \
  lame \
  sox \
  faad2 \
  ffmpeg

# libraries
sudo dnf install \
  libsndfile \
  libsndfile-devel

Tooling

Ptyhon

pyenv install 2.7.18
pyenv local 2.7.18

poetry env use python2.7
poetry install

Node

nvm use v14

yarn install

Backing Services

Backing services can be run using docker-compose:

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

Build Release

# requirements
poetry export \
  -f requirements.txt \
  --output requirements.txt

# build assets
yarn dist
# or via make
make build

Deploy

Deployment is handled via ansible: obp-infrastructure

cd obp-infrastructure/ansible
./deploy.sh