#!/usr/bin/env bash
##makedesc: Install telebit (latest)

echo
echo "==============================================="
echo "Installing telebit (latest)..."
echo "==============================================="
echo

# https://git.coolaj86.com/coolaj86/telebit.js#install

# export NODEJS_VER=v10.2                   # v10.2 is tested working, but we can test other versions
# export TELEBIT_VERSION=master             # git tag or branch to install from
# export TELEBIT_USERSPACE=no               # install as a system service (launchd, systemd only)
# export TELEBIT_PATH=/opt/telebit
# export TELEBIT_USER=telebit
# export TELEBIT_GROUP=telebit
curl https://get.telebit.io/ | bash
