Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to compile/run outside docker? #4

Closed
lincolnturner opened this issue Sep 6, 2019 · 3 comments
Closed

How to compile/run outside docker? #4

lincolnturner opened this issue Sep 6, 2019 · 3 comments
Assignees

Comments

@lincolnturner
Copy link

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
Copy link
Owner

"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
Copy link
Author

lincolnturner commented Sep 10, 2019 via email

@dlmcpaul
Copy link
Owner

Modified readme to add running directly with java

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants