Sitelet https://github.com/ebu/radiodns-manager/tree/develop/MockApi
Skip to content
This repository was archived by the owner on Nov 26, 2025. It is now read-only.

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

#Development mock API.

The Mock API serves as a local dev replacement for some AWS and ebu.io functionalities. Currently it provides image hosting and organisation api rest endpoint.

Setup

You need the following dependencies:

  • python 3.7
  • docker 18.06.1+
  • virtualenv 16.0.0+
  • docker-compose 1.23.2+

Next you have to setup the virtualenv:

virtualenv --python=$(which python3) venv
source venv/bin/activate

And then install the required PIP dependencies

pip install .

To deactivate the running environment

deactivate

You'll find in the root project a script installing every project with their dependencies.

Run

To run start the mock API run

python app.py

Configuration

You can configure the application by setting the environment variables described in config.py.