update README to reflect new way of creating a panel client (quickstart)
This commit is contained in:
parent
c91e262680
commit
785172104f
1 changed files with 15 additions and 0 deletions
15
README.md
15
README.md
|
|
@ -6,6 +6,21 @@ and to allow users to interact with it.
|
|||
|
||||
# Quickstart
|
||||
|
||||
## Create a View for a Watt42 System, using a Template
|
||||
|
||||
1. Ensure you've got Python and Poetry installed (see Prerequisites below).
|
||||
2. Run the install script to create a new view project:
|
||||
|
||||
```bash
|
||||
wget -q -O - https://source.c3.uber5.com/watt42-public/install/raw/branch/main/install.sh | TARGET=view bash
|
||||
```
|
||||
|
||||
3. Follow the instructions printed by the install script to set up your new view
|
||||
project.
|
||||
|
||||
|
||||
## "Hello World" Example
|
||||
|
||||
Given a Watt42 system that exposes the status of a smart device (`is_geyser_on`
|
||||
is either `true` or `false`), the following code creates a simple view that
|
||||
shows the status of the device.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue