/sdj-api

Primary LanguageTypeScript

SLACK DJ

SDJ BASE CI Coverage Status GitHub issues Average time to resolve an issue

Setting up

  • Create your own youtube api key
  • Create slack bot
  • Copy without sample and check the configuration:
    • ./env-sample
    • ./containers/icecast/icecast-sample.xml
    • ./containers/ices/ices-sample.conf
  • run npm install
  • add virtual hosts from .env to your configuration

Run production

  • Run host api for spawning ices containers ng build host-api && node dist/host-api/main.js
  • Run CURRENT_UID=$(id -u):$(id -g) docker-compose up

Run Development

  • Run host api for spawning ices containers ng serve host-api
  • Copy ./docker-compose.override.yml-sample
  • Run CURRENT_UID=$(id -u):$(id -g) docker-compose up