Installing Razuna with Subversion
If you have command-line access to your web server, and if your server has a Subversion (svn) client installed, you can use Subversion to install and update Razuna. Although SubVersion is mostly a software developers' tool, non-developers can also use it to install and upgrade Razuna. For most people, this is much easier than following the standard Razuna installation and upgrade methods. In this article we explains how to do it.
Introduction
The Razuna Subversion repository has several branches or sections. When you install or upgrade Razuna, you have to choose a branch to use. Your main choices are:
- trunk: Trunk is the "bleeding edge" version of Razuna that is being developed. This branch is likely to be broken and buggy, but can be useful for for people who want to have the latest and greatest of Razuna. If you want to use this branch, read the "Bleeding Edge Trunk" section below.
- tags/versionnumer: This is recommended if you want a stable, working version of the software. If you want to use a stable version, read the "Tracking Stable Versions" section below.
Bleeding Edge Trunk
This section of the article assumes you have decided you want to run the latest "bleeding edge" development version of Razuna, and are willing to put up with bugs. If you would rather run a stable, released version of Razuna, skip down to the "Tracking Stable Versions" section below. If you have Razuna already installed with the standard method, then head over to the "Convert existing Razuna installation to Subversion" section.
Caution
The bleeding edge checkout contains a "demo" host. This is the host we develop on and all changes are committed to. If you are creating different hosts with the bleeding edge version they will contain "old" code, as we are copying the code from the "demo" host to the "admin/newhost/hostfiles" folder only before releasing a stable version!
Getting the latest code
To install a fresh copy of Razuna, type the following at your command prompt, starting from the directory above where you want to install Razuna. These commands will create a directory named "razuna", and then check out (Subversion command "co"), or extract from the repository (Subversion command "export"), the latest "trunk" version of Razuna.
Note: If you are in your webroot you could also issue the following command, which will create the "razuna" directory for you and checkpout all the code:
When download is complete, you are able to access Razuna just as in the standard installation trough your Razuna URL (http://localhost:8080/razuna/admin) and follow the installation instructions.
You can find the instructions on how to update your checked out code here
Note
When you run the first time wizard (this only happens if you don't have a database for Razuna yet) it will create a "demo" host folder. You will need to replace this "demo" host folder AFTERWARDS with the copy from SVN again!
Tracking Stable Versions
This section of the article assumes you have decided you want to run a stable released version of Razuna.
The next thing you will need to do is decide which exact version of Razuna you would like to install. The examples in this section assume you want to install particular version numbers; if you want to install a different version, substitute that version number.
To check out a stable version rom the Razuna subversion repository you need to navigate to the webroot folder of your web server. Then issue the following commands (assuming there is NO folder named "razuna" and the version you want is 1.1):
This will create a directory called "razuna" and will put all files from version 1.1 in it.
When download is complete, access your Razuna Administration under http://localhost:8080/razuna/admin and follow the installation instructions.
You can find the instructions on how to update your checked out code here