Skip to content

wocruise/configator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

configator

Development guide

Prerequisites

Start a redis instance:

docker run -d \
-p 6379:6379 \
--name redis-server \
redis \
redis-server --appendonly yes

Unit tests

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

Examples

Start the subscriber:

python3 tests/examples/subscriber.py

Run the publisher:

python3 tests/examples/publisher.py
Tables Are Cool
col 1 is left-aligned $1600
col 2 is centered $12
col 3 is right-aligned $1
First Header Second Header
Content Cell Content Cell
Content Cell Content Cell

IMAGE ALT TEXT HERE

About

A simple CONFIGuration propagATOR

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%