https://github.com/kaaproject/kaa-custom-widget-tutorial
Configuration widget source code for the Custom widget tutorial
https://github.com/kaaproject/kaa-custom-widget-tutorial
Last synced: 11 months ago
JSON representation
Configuration widget source code for the Custom widget tutorial
- Host: GitHub
- URL: https://github.com/kaaproject/kaa-custom-widget-tutorial
- Owner: kaaproject
- Created: 2021-04-28T08:04:55.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-04-28T08:18:17.000Z (over 5 years ago)
- Last Synced: 2025-01-06T17:51:05.185Z (over 1 year ago)
- Language: TypeScript
- Size: 2.47 MB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Kaa Custom Configuration Widget
This project contains the source code of the custom configuration widget for the [Custom widget tutorial](https://docs.kaaiot.io/KAA/docs/current/Tutorials/getting-started/custom-widget/) created for the [KaaIoT platform](https://www.kaaproject.org/).

Feel free to change any files and add new packages you want.
## Prerequisites
* Access to KaaIoT UI. You can [create a free cloud account](https://www.kaaproject.org/free-trial) if you don't have one.
* [Node.js](https://nodejs.org/en/) > 15 or [nvm](https://github.com/nvm-sh/nvm)
* npm
## Up and running
Clone this repo:
```sh
git clone https://github.com/kaaproject/kaa-widget-webpack.git
```
If you have nvm:
```sh
nvm install
# Next time for new terminal session
nvm use
```
Install dependencies:
```sh
npm i
```
Run development mode:
```sh
npm start
```
Login into any running KaaIoT [Web Dashboard](https://docs.kaaiot.io/KAA/docs/latest/Features/Visualization/WD/) UI and create a new widget from `Custom widgets` page.
To make a production build:
```sh
npm run build
```
Production build compiles to `dist/index.js`. You can upload this file into running KaaIoT platform using Web Dashboard UI