-
-
Notifications
You must be signed in to change notification settings - Fork 506
Updating to Github Master Branch
This is not a recommended method for upgrading Mycodo. Only follow these instructions if you know what you're doing or you were instructed to do so by a Mycodo developer. Using this method has a very real chance of breaking your system.
There are 2 ways to instruct Mycodo to upgrade to the master branch. Only use one of the two methods:
Go to the [Gear Icon] -> Configure -> Diagnostics page and press the "Set to Upgrade to Master" button. config.py will be edited and the frontend will be automatically restarted.
Change this line near the top of the file:
FORCE_UPGRADE_MASTER = False
to:
FORCE_UPGRADE_MASTER = True
Then save your edit.
Restart the Mycodo frontend:
sudo service mycodoflask restart
Navigate to the upgrade page ([Gear Icon] -> Upgrade) and you should see text informing you an upgrade will be performed to the latest commit on the Github master branch.