diff --git a/README.md b/README.md index eef1ec37..e71184b9 100644 --- a/README.md +++ b/README.md @@ -114,6 +114,19 @@ podman run -it --rm --userns=keep-id:uid=1000,gid=1000 -v $HOME/.kube/config:/op quay.io/cloudservices/bonfire namespace list ``` +# Local development + +To install local changes and use local version of bonfire, switch to the root directory of this repository, switch to virtual environment and install bonfire package with local changes: + +```bash +VENV_DIR=~/bonfire_venv +mkdir -p $VENV_DIR +python3 -m venv $VENV_DIR +. $VENV_DIR/bin/activate +pip install -e . +``` + + # Quick Start Start with `bonfire --help` to familiarize yourself with the basic command groups. Don't forget to use the `--help` flag on sub-commmands as well if you are curious to learn more about different CLI commands, options, and arguments. diff --git a/bonfire/processor.py b/bonfire/processor.py index c9243987..4bd7698a 100644 --- a/bonfire/processor.py +++ b/bonfire/processor.py @@ -672,6 +672,8 @@ def _get_component_items(self, component_name): # always override ENV_NAME params["ENV_NAME"] = self.clowd_env + # TODO: revisit need for below param once FEO has a more developed config management system + params["FRONTEND_CONTEXT_NAME"] = self.clowd_env # override other specific parameters on this component if requested by user at runtime self._sub_params(component_name, params)