This project contains the Horizon client system source code. To learn more about the Horizon system, including how to try the Blue Horizon instance of it, please browse to http://bluehorizon.network. Note that the HEAD of this repository's master
branch includes alpha-grade code under current development. Stable versions of this application are bundled in Ubuntu Snaps (cf. https://www.ubuntu.com/desktop/snappy), consult the bluehorizon-snap
project listed below to learn more.
Related Projects:
anax-ui
(http://github.com/open-horizon/anax-ui): The source for the Anax web UIbluehorizon-snap
(http://github.com/open-horizon/bluehorizon-snap): A Ubuntu Snappy bundling of the complete Horizon client componentsubuntu-classic-image
(http://github.com/open-horizon/ubuntu-classic-image): Produces complete system images
- To execute the lint and other code checkers (
make lint
), you must install:go vet
,golint
, andjshint
make
make lint
make test
make test-integration
- Add
"ANAX_LOG_LEVEL=5"
to theEnvironment=
configuration in the systemd unit file/etc/systemd/system/snap.bluehorizon.anax.service
. Note that the value5
is the classification of most debug log messages,6
is used for even more granular log messages, something like a 'trace' level. - Reload the systemd unit file with
systemctl daemon-reload
. - Restart the anax process with
systemctl restart snap.bluehorizon.anax.service
.
Note that the Makefile constructs its own GOPATH
and builds from it; this is a convenience that can sometimes cause problems for development tooling that expects a project to be in a subdirector of $GOPATH/src
. To use the Makefile to build the project inside your user's GOPATH
, set the TMPGOPATH
envvar to GOPATH
and execute make respecting your user's environment, e.g. TMPGOPATH=$GOPATH make -e deps