From eb0cb4f6b037198fe12e970ef2062d890649323f Mon Sep 17 00:00:00 2001 From: manuel Date: Tue, 26 Jan 2021 07:11:58 +0000 Subject: [PATCH] GitBook: [master] 2 pages modified --- development.md | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/development.md b/development.md index 1dd1eac..5246662 100644 --- a/development.md +++ b/development.md @@ -9,13 +9,36 @@ How to create virtual env in Python [https://docs.python.org/3/tutorial/venv.html](https://docs.python.org/3/tutorial/venv.html) {% endhint %} -```bash +### 1. Create a virtual env with CBPi +```bash python3 -m venv venv source venv/bin/activate python3 -m pip insatll cbpi ``` +### 2. Create Folder structure + + + +### 3. Add Custom Code + + + +### 4. Test the Code + + + +### 3. Build plugin + + + +### 4. Upload the plugin + +### Full Example + +[https://github.com/Manuel83/cbpi4-ui-plugin](https://github.com/Manuel83/cbpi4-ui-plugin) + ## Sensor ```python