2021-12-30 06:26:51 +00:00
|
|
|
#!/bin/bash
|
2022-07-04 09:56:45 +00:00
|
|
|
##makedesc: Install telebit (latest)
|
|
|
|
|
2022-01-09 08:50:40 +00:00
|
|
|
echo
|
|
|
|
echo "==============================================="
|
2022-07-04 09:56:45 +00:00
|
|
|
echo "Installing telebit (latest)..."
|
2022-01-09 08:50:40 +00:00
|
|
|
echo "==============================================="
|
|
|
|
echo
|
|
|
|
|
|
|
|
# https://git.coolaj86.com/coolaj86/telebit.js#install
|
2021-12-30 06:26:51 +00:00
|
|
|
|
|
|
|
# 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
|