Skip to content
alangrafu edited this page Dec 19, 2012 · 6 revisions

Since version 20121218, LODSPeaKr and Visualbox will provide a new command option for updating a LODSPeaKr instance. The reason behind this is that in some cases doing a git pull is not enough. For example, if you are using the admin GUI to create components, you will need to update also the javascript code (which means it needs to be copied into the components folder. Eventually, it may be needed to do more stuff for other modules but I still want a simple method to update a LODSPeaKr or Visualbox installation, something like run this command, not follow these 10 steps related to the internals of LODSPeaKr.

##Updating via utils/lodspk.sh

Obviously, the next time you want to update an installation, you need to run git pull to get the new lodspk.sh script, but after that, you should run utils/lodspk.sh update instead of git pull. For now, the script does the following steps:

  • Check if git exists
  • Ask if user wants to backup components and settings.inc.php. If so, perform a backup
  • Execute git pull
  • Copy admin files into current component folder

##More info:

Clone this wiki locally