This repository has been archived by the owner. It is now read-only.
Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
dist
src
.gitignore
README.md
package-lock.json
package.json
webpack.config.js

README.md

Kotio web UI

The UI is a vue.js application that can be deployed to what ever web server of your choise or to be accessed from your file system.

Configuration

The UI must be configured to connect to the kotio servers. The file src/config.js contains boolean variables ruuvitagApi.enabled and tellstickApi.enabled that indicate whether that specific integration is enabled and variables RUUVITAG_API_URL and TELLSTICK_API_URL should be configured to contain the host name or IP address where the protocol specific kotio server is located.

Compiling the distributable files

cd webui
npm install
npm run build

Distributable files

Afer compilation the directory dist contains all the files needed for the web UI. Just copy the contents of that directory where ever you see fit.

Only file in that directory that is not part of the code base is bundle.js that is generated by the compilation.

Test web UI

After configuration changes and compilation open file dist/index.html in your preferred browser.