cd ~/code
git clone git@github.com:digris/openbroadcast.org.git openbroadcast.org
# dfn
# utilities
sudo dnf install \
lame \
sox \
faad2 \
ffmpeg
# libraries
sudo dnf install \
libsndfile \
libsndfile-devel
pyenv install 2.7.18
pyenv local 2.7.18
poetry env use python2.7
poetry install
nvm use v14
yarn install
Backing services can be run using docker-compose
:
docker-compose -f ./docker/docker-compose.yml up --build
# requirements
poetry export \
-f requirements.txt \
--output requirements.txt
# build assets
yarn dist
# or via make
make build
Deployment is handled via ansible: obp-infrastructure
cd obp-infrastructure/ansible
./deploy.sh