dlmcpaul/EnphaseCollector

How to compile/run outside docker?

lincolnturner opened this issue · 3 comments

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.

"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.

Modified readme to add running directly with java