How to compile/run outside docker?
lincolnturner opened this issue · 3 comments
lincolnturner commented
This looks like a great project and I'd like to use it with my enphase system.
But no docker on my device.
Any hints on how to run on a native JRE? mvn install doesn't work.
dlmcpaul commented
"mvn package" should produce a jar file in the target directory called enphasecollector-DEV.jar
then "java -jar enphasecollector-DEV.jar" will start it. Java 11 is needed to run.
You will still need to set the environment parameters to configure it to your system.
You will need at least these 2 set.
ENVOY_CONTROLLER_HOST
ENVOY_CONTROLLER_PASSWORD
Running a jar as a service depends on your operating system.
lincolnturner commented
Thanks very much.
I've "discovered" the http://envoy/stream/meter interface which gives 1s
updates on overall production and consumption, so am hacking that into a
pgsql timescaledb at present. But I may well come back to yoru java...
Best,
Lincoln
…On Wed, 11 Sep 2019 at 08:40, dlmcpaul ***@***.***> wrote:
"mvn package" should produce a jar file in the target directory called
enphasecollector-DEV.jar
then "java -jar enphasecollector-DEV.jar" will start it. Java 11 is needed
to run.
You will still need to set the environment parameters to configure it to
your system.
You will need at least these 2 set.
ENVOY_CONTROLLER_HOST
ENVOY_CONTROLLER_PASSWORD
Running a jar as a service depends on your operating system.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#4?email_source=notifications&email_token=ABE6SAHDML5KG4OOLEDYTZLQJAO67A5CNFSM4IUIMU7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6MWV5Q#issuecomment-530148086>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABE6SAGQNBGZUGNWE6C2ZHDQJAO67ANCNFSM4IUIMU7A>
.
--
*Lincoln Turner*
Senior Lecturer
Fellow - Monash Education Academy
I am an LGBTIQ Ally <http://monash.edu/ally>
*School of Physics & Astronomy*
Monash University
G.06, New Horizons Centre
20 Research Way, Clayton Campus
Victoria 3800, Australia
T: +61 3 9905 1726
*bec.physics.monash.edu.au <http://bec.physics.monash.edu.au>*
dlmcpaul commented
Modified readme to add running directly with java