Skip to content
This repository has been archived by the owner on Jul 25, 2020. It is now read-only.
/ iglu-server Public archive

This is the main server code for iglü's web server.

Notifications You must be signed in to change notification settings

Nacdlow/iglu-server

Repository files navigation

iglü Server

Description

iglü server is the web server and control system for the smart home. Its purpose is to control home appliances and Internet-connected devices. It is self-contained, handling access-control among other things, and should work without Internet connection.

Requirements

The following packages are required.

  • git
  • Go (1.12+)
  • GNU Make
  • go-bindata

Installing go-bindata

$ go get -u github.com/go-bindata/go-bindata/...
$ go install github.com/go-bindata/go-bindata/...

Building

You can build by running:

$ make

And to run the web server:

$ make
$ ./nacdlow-server run [--port 443] [--dev]

Configuration

A configuration file is created ./config.toml. New fields will be automatically added. You might need to set the Dark Sky API key, which you can find on our Internal Wiki.

Plugins

Plugins are added in the plugins/ folder. Plugins may also be downloaded directly from the marketplace.