Version control on remote system with Github

Sharing my version control implementation using a Github repository and Atom editor for version control of the openHab configuration on my Raspberry Pi.

Create a private Github repository for the openHab configuration. Clone the repository to your local workstation with git and Atom editor installed. Within atom install a remote ftp/sync package (e.g. remote-ftp).

Login to the openHab server with ssh. In the user folder create a folder openhab. In that folder create two symbolic links: /etc/openhab named conf and /var/lib/openhab named userdata. This gives the folder a similar structure as the back-up file.

Now configure the remote ftp Atom package to connect with the openHab server and openHab configuration folder. The configuration can be downloaded and committed to Github with proper version control.

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.