Skip to content
This repository has been archived by the owner on Nov 1, 2019. It is now read-only.

Using latest beta (unstable) version

Vilhelm Prytz edited this page Apr 21, 2018 · 3 revisions

How to use the latest version of nafsdm (unstable)

Before you start, please be aware of that most features of the development branch are completely untested and should never be used in a production environment.

Specificing github_branch is available on versions before 1.3, but in 1.3 you can use the "incrementalCommitVersions" feature, which allows the master and slave to always stay up-to-date with the development branch. This feature is only available on versions after 1.3-stable.

Master setup (on versions after 1.3-stable)

Open up the file /home/master-nafsdm/pythondaemon/dev_github_branch.txt.

nano /home/master-nafsdm/pythondaemon/dev_github_branch.txt

Type in development and save the file by hitting CTRL + X and then Y.

Open up the file /home/master-nafsdm/pythondaemon/dev_ic_mode.txt.

nano /home/master-nafsdm/pythondaemon/dev_ic_mode.txt

Type in True and save the file by hitting CTRL + X and then Y.

Run the daemon to make it initiate an update.

nafsdm-master

The daemon should update and install the latest commit of the development branch.

You can run nafsdm-master again to make sure it works properly (after the update).

Slave setup (on versions after 1.3-stable)

Open up the file /home/slave-nafsdm/config.conf.

nano /home/slave-nafsdm/config.conf

Under the [development] section, you will find github_branch. Set the value to development and change the incrementalCommitVersions value to True.

Restart the daemon.

nafscli restart

You can check the logs to make sure it updates correctly.

nafscli log

Check for new versions using nafscli.

nafscli version

Master - Specifing development branch on versions before 1.3-stable and after 1.2-stable

Open up the file /home/master-nafsdm/pythondaemon/dev_github_branch.txt.

nano /home/master-nafsdm/pythondaemon/dev_github_branch.txt

Type in development and save the file by hitting CTRL + X and then Y.

Run the daemon to make it initiate an update.

nafsdm-master

Slave - Specifing development branch on versions before 1.3-stable and after 1.2-stable

Open up the file /home/slave-nafsdm/pythondaemon/dev_github_branch.txt.

nano /home/slave-nafsdm/pythondaemon/dev_github_branch.txt

Type in development and save the file by hitting CTRL + X and then Y.

Restart the daemon to make it initiate the update.

nafscli restart (nafscli works on versions after 1.2.5-stable)