openhab-core/bundles/org.openhab.ui.homebuilder
2017-12-08 14:41:35 +01:00
..
META-INF HomeBuilder - Initial contribution (#172) 2017-12-03 00:13:10 +01:00
OSGI-INF HomeBuilder - Initial contribution (#172) 2017-12-03 00:13:10 +01:00
src/main/java/org/openhab/ui/homebuilder/internal HomeBuilder - Initial contribution (#172) 2017-12-03 00:13:10 +01:00
web [HomeBuilder] Making Create Items button more prominent. Also hide the JSON request data. Closes #249 (#251) 2017-12-08 14:41:35 +01:00
.classpath HomeBuilder - Initial contribution (#172) 2017-12-03 00:13:10 +01:00
.eslintrc.json HomeBuilder - Initial contribution (#172) 2017-12-03 00:13:10 +01:00
.gitattributes HomeBuilder - Initial contribution (#172) 2017-12-03 00:13:10 +01:00
.project HomeBuilder - Initial contribution (#172) 2017-12-03 00:13:10 +01:00
about.html HomeBuilder - Initial contribution (#172) 2017-12-03 00:13:10 +01:00
build.properties HomeBuilder - Initial contribution (#172) 2017-12-03 00:13:10 +01:00
pom.xml HomeBuilder - Initial contribution (#172) 2017-12-03 00:13:10 +01:00
README.md HomeBuilder - Initial contribution (#172) 2017-12-03 00:13:10 +01:00
USAGE.md HomeBuilder - Initial contribution (#172) 2017-12-03 00:13:10 +01:00

Home Builder

Boilerplate for the Items, sitemap files and HABPanel dashboard.

Usage

See USAGE.md file for reference.

Development

HomeBuilder UI is an app based on Vue.js framework. In order to setup the development environment simply run:

cd web
npm install
npm run dev

The first command will install all necessary dependencies (including Webpack build system). npm run dev, however, will serve the build with hot reload at http://localhost:8080.

It's recommended to debug the app on Chrome or Firefox with Vue.js devtools extension.

When you're done with your changes and would like to test HomeBuilder on a real environment, run the following command:

# build for production with minification
npm run build

It will build the app inside /web/dist/ folder with source map included.