Start a redis instance:
docker run -d \
-p 6379:6379 \
--name redis-server \
redis \
redis-server --appendonly yes
Clone the source code from the github repository:
git clone https://github.com/skelethon/configator.git
Change the project home to the working directory:
cd configator
Create a virtual environment:
python3 -m venv .env
Activate the virtual environment:
source ./.env/bin/activate
Upgrade python tools:
python3 -m pip install --upgrade pip setuptools wheel
Install requirements:
python3 -m pip install -r requirements.txt
Run the unittests:
python3 tests/units
Start the subscriber:
python3 tests/examples/subscriber.py
Run the publisher:
python3 tests/examples/publisher.py