Skip to content

Source code of the open Home Automation Bus (openHAB)

License

Notifications You must be signed in to change notification settings

mijairaf/openhab

This branch is 31 commits ahead of, 7885 commits behind openhab/openhab1-addons:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

8394398 · Oct 21, 2013
Oct 21, 2013
Oct 9, 2013
Sep 9, 2013
Sep 9, 2013
Jan 8, 2012
Sep 9, 2013
Sep 27, 2013
Nov 24, 2010
Sep 20, 2013
Sep 9, 2013

Repository files navigation

openHAB Build Instructions
==========================

Thanks for your interest in the openHAB project (http://www.openHAB.org)!

Building and running the project is fairly easy if you follow the steps
detailed below.


1. PREREQUISITES
================

The openHAB build infrastructure is based on Maven in order to make it
as easy as possible to get up to speed. If you know Maven already then
there won't be any surprises for you. If you have not worked with Maven
yet, just follow the instructions and everything will miraculously work ;-)

What you need before you start:
- Maven3 from http://maven.apache.org/download.html
- Git from http://git-scm.com/downloads

Make sure that both "mvn" and "git" commands are available on your path


2. CHECKOUT
===========

Check out the project sources from GitHub:

> git clone https://github.com/openhab/openhab.git

You will now have all required sources in the openhab subdirectory.


3. BUILDING WITH MAVEN
======================

To build openHAB from the sources, Maven takes care of everything:
- change into the openhab directory ("cd openhab")
- run "mvn clean install" to compile and package all sources

The build result will be available in the folder 
openhab/distribution/target. Both the runtime as well as
the designer zips are placed in there.


4. STARTING THE RUNTIME
=======================

- unzip the file distribution-<version>-runtime.zip to a local folder
- launch the runtime with the "start.sh" (resp. "start.bat") script
- check if everything has started correctly: http://localhost:8080/openhab.app?sitemap=demo


5. STARTING THE DESIGNER
========================

- unzip the file distribution-<version>-designer-<platform>.zip to a local folder
- run the executable "openHAB-Designer.exe"

About

Source code of the open Home Automation Bus (openHAB)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 59.2%
  • JavaScript 23.8%
  • CSS 16.5%
  • HTML 0.2%
  • Xtend 0.2%
  • C 0.1%