Skip to main content

Project Installation

How to set up a local dev environment for the The-Microservice-Dungeon Project:

Github Repository: local-dev-environment

Prerequisites#

Usage#

This tool helps to create and run a local development environment. In the default setting the tool will download the newest images of the dungeon repos.

To exclude your service please edit the env_setup_default.yml.

It will also be possible to create a custom dev environment, but since this feature is still experimental, it will not be described. You can always display the help with

    python3 dungeon-dev-env.py -h

Commands#

    python3 dungeon-dev-env.py [OPTION]
OptionArgumentEffect
-iinitializes the local dev environment
-rruns the environment
-sstops the environment
-ddeletes all local images and networks
-uupdates the environment
-p[run or include]runs or includes the local player service
-uupdates all docker images
-hdisplay help

Hints#

    python3 dungeon-dev-env.py -i 

always needs to be run before -r.


Before running -p, you need to manually create a directory ./classesplayer_configs. It will not be persisted, there is an entry in .gitignore.


Error: No such image: confluentinc/cp-zookeeper.

This error massege is produced by:

    python3 dungeon-dev-env.py -d

This is caused by the deletition method and can be safely ignored.