Skip to content
UpdateHub Community Edition
Branch: master
Clone or download
gustavosbarreto travis: add linter
Signed-off-by: Luis Gustavo S. Barreto <gustavo@ossystems.com.br>
Latest commit c490eb0 Apr 24, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
api/router api: add route to delete package Apr 24, 2019
docs
models Add licensing information Jan 10, 2019
ui travis: add linter Apr 29, 2019
.gitignore .gitignore: Add initial set Oct 10, 2018
.travis.yml travis: add linter Apr 29, 2019
Dockerfile Dockerfile: optimize build time by caching glide install Apr 11, 2019
LICENSE Add licensing information Jan 10, 2019
README.md readme: fix the project's name at license Apr 5, 2019
coap.go coap: remove unnecessary ip address Apr 10, 2019
glide.lock api:routes:webapi: add unit tests Apr 16, 2019
glide.yaml Rename updatehub-ce-server to updatehub-ce Apr 4, 2019
go.mod Rename updatehub-ce-server to updatehub-ce Apr 4, 2019
go.sum Go mod: add support to use go mode Feb 13, 2019
main.go add router package to group all routes Apr 12, 2019

README.md

UpdateHub logo


UpdateHub is an enterprise-grade solution which makes simple to remotely update all your Linux-based devices in the field. It handles all aspects related to sending Firmware Over-the-Air (FOTA) updates with maximum security and efficiency, while you focus in adding value to your product.

To learn more about UpdateHub, check out our documentation.

Features

  • Yocto Linux support: Integrate UpdateHub onto your existing Yocto based project
  • Scalable: Send updates to one device, or one million
  • Reliability and robustness: Automated rollback in case of update fail
  • Powerful API & SDK: Extend UpdateHub to fit your needs

UpdateHub Community Edition

This is a community edition of UpdateHub Cloud, so the core concepts and functionality is identical.

See the comparison table below to help you to choose which version fits you need:

Feature UpdateHubCE UpdateHubCloud
Secure communication (HTTPS, CoAP over DTLS)
Signed packages
Rollouts
Large scale rollouts
Multiple organizations
Fully monitored updates
Teams
HTTP API
Package upload
Multiple products
Advanced device filter
Multiple users

Usage

$ docker run updatehub/updatehub-ce --help
Usage:
  updatehub-ce [flags]

Flags:
      --db string         Database file (default "updatehub.db")
  -h, --help              help for updatehub-ce
      --password string   Admin password (default "admin")
      --port int          Port (default 8080)
      --username string   Admin username (default "admin")

Example:
docker run -d -p 8080:8080 updatehub/updatehub-ce:latest

Building

The updatehub-ce uses glide to manage its dependencies and npm to build the web UI for the server. The easiest way to install its latest release on Mac or Linux is with the following script:

$ curl https://glide.sh/get | sh

On Mac OS X you can also install the latest release via Homebrew:

$ brew install glide node

On Ubuntu Precise (12.04), Trusty (14.04), Wily (15.10) or Xenial (16.04) you can install from our PPA:

$ sudo add-apt-repository ppa:masterminds/glide && sudo apt-get update
$ sudo apt-get install glide nodejs npm

After that, need to install packr that is a simple solution for bundling static assets inside of Go binaries use by updatehub-ce.

To install Packr utility and the dependencies:

$ go get -u github.com/gobuffalo/packr/packr
$ go get -u github.com/gobuffalo/packr

Finally, you can build updatehub-ce as:

$ cd <YOUR-UPDATEHUB-CE-PATH>/ui/ && npm install && npm run build && cd ..
$ packr install
$ go build
$ go install

Now you can run the updatehub-ce as:

./updatehub-ce --http 8080

Contributing

UpdateHub is an open source project and we love to receive contributions from our community. If you would like to contribute, please read our contributing guide.

License

UpdateHub Community Edition is licensed under the MIT license. See LICENSE for the full license text.

Getting in touch

You can’t perform that action at this time.