Causam: Difference between revisions
No edit summary |
No edit summary |
||
Line 13: | Line 13: | ||
git clone ssh://git@git.poweranalytics.io:7999/gec/pa-pdp-xiagent-csharp.git | git clone ssh://git@git.poweranalytics.io:7999/gec/pa-pdp-xiagent-csharp.git | ||
|} | |} | ||
{| class="mw-collapsible mw-collapsed wikitable" | |||
! GEM provisioning | |||
|- | |||
| | |||
# note that ruby will let you do this as any user | |||
# so you have a choice to avoid root if you have access to /etc | |||
# if you cannot write to /etc, you'll need to run as root | |||
su - | |||
gem sources | |||
# if no energynet, do this | |||
gem sources -a http://gem.energynet.io/ | |||
gem list --remote nop-client | |||
*** REMOTE GEMS *** | |||
gem nop-client (1.4.0) | |||
gem install nop-client | |||
(done, didn't need [gem install activesupport] prolly bc i have already done it) | |||
(or if errors: gem install activesupport, and continue) | |||
go to: | |||
https://certman-prod.energynet.io/tokens | |||
taylor: your certman u/p (box and http auth) = m/_._3Px~;PM4y | |||
using that for http auth currently gets you "403 Forbidden" if you are not on the IP whitelist | |||
ryan "grab the first customer=2 redeemed=false one" | |||
nop-redeem-token 756f50e4-2672-faf3-a157-b4e624411525 | |||
DONE | |||
installed it all to: | |||
/etc/nop-client/ssl/CA-belllabs.energynet.io/ | |||
= | TO DISABLE | ||
cp /etc/nop-client/ssl/(provider) /etc/nop-client/ssl-disabled/ | |||
|} | |||
{| class="mw-collapsible mw-collapsed wikitable" | |||
! INSTALL AND COMPILE north-poller ON UBUNTU | |||
|- | |||
| | |||
install sbt (see wiki) | install sbt (see wiki) | ||
add the repos used by the team's projects: | add the repos used by the team's projects: | ||
Line 45: | Line 77: | ||
there she goes | there she goes | ||
= | |} | ||
{| class="mw-collapsible mw-collapsed wikitable" | |||
! INSTALL AND RUN north-poller BINARY ON PI | |||
|- | |||
| | |||
# add apt repo: apt.energynet.io | # add apt repo: apt.energynet.io | ||
# don't try to use add-apt-repository from package software-properties-common | # don't try to use add-apt-repository from package software-properties-common | ||
Line 67: | Line 103: | ||
service causam-north-poller-scala start | service causam-north-poller-scala start | ||
tail -f /var/log/syslog | tail -f /var/log/syslog | ||
|} |