- Set up SmartOS minimal-64 LTS zone (multiarch doesn't have golang in pkgsrc)
pkgin in go git nodejs-8 build-essential
- Delete the
phantomjs
line from$GOPATH/src/github.com/grafana/grafana/package.json
- Build the backend: from the grafana directory, run
go run build.go setup && go run build.go build
- Build the frontend: from the grafana directory, run
npm install -g yarn && yarn install --pure-lockfile && yarn dev
- You can now run
$GOPATH/bin/grafana-server
and point your web browser at<grafana ip:3000>
The error about fsevents support may be fixed in the long run - see fsnotify/fsnotify#263.