Created
June 27, 2019 15:44
-
-
Save mcr/edf3a31ecfeb78564b46ae3b2ff00742 to your computer and use it in GitHub Desktop.
starting mud_telemetry
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export LD_LIBRARY_PATH=/usr/local/rvm/rubies/ruby-2.6.3/lib/ | |
. /etc/profile.d/rvm.sh | |
rvm use 2.6.3 >/dev/null | |
export CERTDIR=/app/certificates | |
export SERVCERT=${CERTDIR}/jrc_prime256v1.crt | |
export SERVKEY=${CERTDIR}/jrc_prime256v1.key | |
RAILS_ENV=${RAILS_ENV-production} | |
export RAILS_ENV | |
cd /app/fountain | |
root@mud-supervisor:/app/fountain# bundle exec rake fountain:mud_telemetry & | |
root@mud-supervisor:/app/fountain# ls ~ | |
mud_telemetry.sock setup start | |
root@mud-supervisor:/app/fountain# export TERM=dumb | |
root@mud-supervisor:/app/fountain# bundle exec rails console -e production | |
2.6.3 :003 > Device.all.each { |dev| puts dev.eui64, dev.name } | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment