IoT-DSA: install and run broker-dart

Environment
  • Ubuntu 16.04 LTS
  • Dart VM version: 1.23.0 (Fri Apr 21 10:05:24 2017)
Install Dart

Taken from Installing Dart on Linux.

# Enable HTTPS for apt.
$ sudo apt-get update
$ sudo apt-get install apt-transport-https
# Get the Google Linux package signing key.
$ sudo sh -c 'curl https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -'
# Set up the location of the stable repository.
$ sudo sh -c 'curl https://storage.googleapis.com/download.dartlang.org/linux/debian/dart_stable.list > /etc/apt/sources.list.d/dart_stable.list'
$ sudo apt-get update
$ sudo apt-get install dart
Install and run broker-dart
$ sudo apth-get intsall https://github.com/IOT-DSA/broker-dart
$ cd broker-dart$ pub get
$ pub global run dsbroker:broker
[INFO][DSA] Listening on HTTP port 8080
[INFO][DSA] Listening on HTTP port 8443