up to index
Upgrading DocumentJunction
Here are the instructions to upgrade a production DocumentJunction web site.
- Back up your entire DocumentJunction site for safekeeping. Store the backup in an entirely separate subdirectory so it cannot be overwritten accidentally.
- Download the latest TARball and untar the files in a separate directory. eg ./upgrade beneath the DocumentJunction subdirectory.
- Copy the files from ./upgrade (not its subdirecotries) from the new subdirectory to the base directory of your DocumentJunction subdirectory
- Copy the contents from the ./upgrade/scripts directory to your DocumentJunction scripts subdirectory.
- Note, if you use the symlink option in config.php, then this will automatically update all the *.php files under root/*... to the newest ./scripts/boilerplate.php. If you don't use symlinks, you may wish to write a script to replace all the root/*.php... scripts with the new ./scripts/boilerplate.php file.
- Read the new config file in ./upgrade/config/config.php to see if there are any newly defined parameters you should set in your ./config/config.php file.
- Copy the contents from ./upgrade/documentjunction/* to ./documentjunction to update your documentation.
- When done, you can erase the contents with rm -R ./upgrade
- The upgrade is now complete.
Edit in DocumentJunection