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

Add symlink method to installation docs #164

Open
5iver opened this issue Jun 20, 2019 · 0 comments
Open

Add symlink method to installation docs #164

5iver opened this issue Jun 20, 2019 · 0 comments

Comments

@5iver
Copy link
Member

5iver commented Jun 20, 2019

The documentation currently only instructs to copy files. We should add an option to clone the repo, use symlinks in the OH directories, and do a git pull to update the libraries and scripts. These are the links I use, in case someone gets to this before I do...

ln -s /opt/openhab-helper-libraries/Core/automation/lib/python/core /opt/openhab2/conf/automation/lib/python/core
ln -s /opt/openhab-helper-libraries/Core/automation/lib/javascript/core /opt/openhab2/conf/automation/lib/javascript/core
ln -s /opt/openhab-helper-libraries/Core/automation/lib/groovy/core /opt/openhab2/conf/automation/lib/groovy/core

ln -s /opt/openhab-helper-libraries/Core/automation/jsr223/python/core /opt/openhab2/conf/automation/jsr223/python/core
ln -s /opt/openhab-helper-libraries/Core/automation/jsr223/javascript/core /opt/openhab2/conf/automation/jsr223/javascript/core
ln -s /opt/openhab-helper-libraries/Core/automation/jsr223/groovy/core /opt/openhab2/conf/automation/jsr223/groovy/core

ln -s /opt/openhab-helper-libraries/Community/OpenWeatherMap/automation/jsr223/python/community/openweathermap /opt/openhab2/conf/automation/jsr223/python/community/openweathermap
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

1 participant