No description
Find a file
2026-01-14 14:31:52 +02:00
main.py now with dependency to viewlib, and sample main.py 2026-01-14 14:27:03 +02:00
poetry.lock now with dependency to viewlib, and sample main.py 2026-01-14 14:27:03 +02:00
poetry.toml initial 2026-01-14 14:00:41 +02:00
pyproject.toml now with dependency to viewlib, and sample main.py 2026-01-14 14:27:03 +02:00
README.md add instructions on how to run 2026-01-14 14:31:52 +02:00

Watt42: Template for a View App using Panel Views

Introduction

Use this template together with Watt42's viewlib.

How to Run

  1. Make sure you've got poetry installed. You can install it by running the below (on MacOS/Linux), or check installation instructions:
curl -sSL https://install.python-poetry.org | python3 -
  1. Install dependencies using Poetry:
poetry install
  1. Run the View app locally (replace YOUR_ID and YOUR_TOKEN with your actual Watt42 System ID and API Token):
WATT42_SYSTEM_ID=YOUR_ID WATT42_API_TOKEN=YOUR_TOKEN poetry run panel serve main.py --port 5050