6. Update Desktops

The desktop app plugin is maintained by the bc_desktop project. Assuming you previously installed with Install Desktops you can update it with the following directions.

6.1. Do I need to update?

Latest version: v0.1.1

You can compare this to the locally installed bc_desktop with the following command:

grep '##' /var/www/ood/apps/sys/bc_desktop/CHANGELOG.md
#=> ## [Unreleased]
#=> ## [0.1.1] - 2017-07-12
#=> ### Changed
#=> ...

where the version number should be given in the line after [Unreleased]. If the version numbers match then you can skip this update.

6.2. Instructions to update

  1. Back up this directory. If you already performed Update Applications then you should have a back up of this already. In particular, the most important code lies in your custom configuration directory:

  2. We will be re-using the ood-apps-installer utility script that we used previously to install the apps to handle installation/updating of the Desktops app. Fetch the latest changes and check out the latest tag:

    cd ~/ood/src/apps
    scl enable git19 -- git fetch
    scl enable git19 -- git checkout v1.0.0
  3. Confirm that your center’s local configuration files under build/bc_desktop/local/ exist.

  4. Rebuild the app:

    scl enable rh-ruby22 nodejs010 git19 -- rake build:bc_desktop
  5. Finally, we install the app to its system location at /var/www/ood/apps/sys/bc_desktop with:

    sudo scl enable rh-ruby22 -- rake install:bc_desktop