This project gathers a web interface based on plugit to manage RadioDNS services (RadioVIS, RadioEPG and ServiceFollowing).
Check each folder for specifics README about each part.
To start up a local demo instance
docker-compose -f docker-compose-standalone-demo.yml up --build -d
Then you may visit http://localhost:4000.
Your login credentials as admin are
admin
1234
Once you have configured the services you may test the generated metadata at http://localhost:5000/radiodns/spi/3.1/SI.xml.
To shut down the local instance
docker-compose -f docker-compose-standalone-demo.yml down
To remove the database and start afresh
docker volume rm radiodns-manager_db_data
docker volume rm radiodns-manager_mock_api_data
docker volume rm radiodns-manager_pgdata
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
- python 2.7 and 3.7
- docker 18.06.1+
- virtualenv 16.0.0+
- docker-compose 1.23.2+
To install automatically the python environment on an unix system use the setup-envs.sh
script (in the scripts folder).
On windows you'll have to setup a virtual env for the following projects (create and activate the venv + installing pip dependencies):
- LightweightPlugitProxy (python3)
- RadioDns-PlugIt (python2)
- RadioVisServer (python2)
- MockApi (python3)
- tests (python3)
Launch the dev databases with:
docker-compose -f docker-compose-dev.yml up -d
Then head to each following folders in order and follow their README.md:
- LightweightPlugitProxy
- RadioDns
- RadioVisServer
- MockApi
The default configuration of the services should be able to make the stack run for local development.
To stop the dev databases run:
docker-compose -f docker-compose-dev.yml down
If you haven't already, run the setup-envs.sh
(if you are on an unix based system, script located in the scripts folder).
Then set your working directory to the tests folder and read its README for further instructions.
The following projects also have unit tests:
- RadioDns-PlugIt
- LightweightPlugitProxy
Please refer to their respective README for further instructions.
Deployment instructions on a production server are detailed in the docs.
Deployment instructions on a production server without EBU.io are detailed in the docs.
Architecture is described in the docs
- Always fix version of dependencies.
- Any new module that can be written in python 3 must be written in python 3. Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
Contact the EBU (Ben Poor poor@ebu.ch) if you need more information about RadioDNS and its associated developments.
- Maximilien Cuony @the-glu
- Malik Bougacha @gcmalloc
- Michael Barroco @barroco
- Mathieu Habegger @mhabegger
- Ioannis Noukakis @inoukakis
The code is under GPLv3 License. (see LICENSE.txt)