Skip to content

Development

Install development dependencies

make install-deps
# OR: pip install -r requirements-dev.txt

Execute tests

make tests
# OR: pytest --cov-report term --cov=config tests

Generating documentation locally.

pip install config-client[docs]
make docs

Spring-Cloud-Configserver

If you would like to test spring-cloud-configserver locally can you use the docker image amenezes/spring-cloud-configserver or just run docker-compose up -d.

The configuration loaded is available via git repository on: spring_config.

Usage example

# first: up config-server instance
docker-compose up -d

# second: show all configuration
python -m config client simpleweb000 --all

# third: query specific for a configuration
python -m config client simpleweb000 'spring.cloud.consul'