Create fork on https://github.com/boneIO-eu/app_black.git
mkdir ~/boneio_development
python3 -m venv ~/boneio_development/venv
source ~/boneio_development/venv/bin/activate
cd ~/boneio_development
git clone [email protected]/yourusername/app_black.git
In below instruction I assume you still in activated venv.
source ~/boneio_development/venv/bin/activate
cd app_black
pip3 install -r requirements.txt
pip3 install -e .
Now you’re ready to add new features to app, prepare config.yaml, test it and create Pull Request later!
If your repo is not up to date with current version you have to git rebase
it.
To do so, do in your repository:
git remote add upstream https://github.com/boneIO-eu/app_black.git
git fetch upstream dev
git rebase upstream/dev
You might need to rebase your branch. Read more at Home Assistant developer guide: https://developers.home-assistant.io/docs/development_catching_up/