SVN Update

From i-doit documentation

Jump to: navigation, search

Contents

Attention

The latest revision is not completely tested and errors could occur sometimes! If so, try updating from time to time or ask for help in our forum.

Updating i-doIT to the latest revision

This is a short explanation of updating i-doit to the latest (unstable) SVN-Revision. This is the up-to-date source code we are working with (and that we test before it becomes a stable release). You may have to change the following placeholders used for these examples:

idoit_system_database - your system database
idoit_data_database - you mandator database
/var/www/i-doit/ - your i-doit directory

Install Subversion

Debian/Ubuntu Linux

apt-get install subversion

Other Linux

Check http://subversion.tigris.org/project_packages.html

Windows

http://tortoisesvn.net/downloads

OR

Get the command line tools at http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=91

The Update Procedure

Get the latest source code

Change to your i-doit directory:

Linux

cd /var/www/i-doit/

- If you have installed i-doit via SVN already, just type:

svn update

- If you have downloaded the i-doit package from http://www.i-doit.org then do a fresh checkout with:

svn checkout --username "anon" --password "" http://dev.synetics.de/svn/idoit/trunk .

Select yes if subversion asks for overwriting existing files.

Windows

If you use TortoiseSVN:

- do a right click on your i-doIT directory and select "SVN Update", when you already checked out your copy of the i-doit source code. The SVN Client should update your i-doIT to the latest revision.

- Users who have downloaded our package from http://www.i-doit.org should select "SVN Checkout" with the following details:

URL of repository:  http://dev.synetics.de/svn/idoit/trunk
User:               anon
Pass:               <empty> / none

Updating your current Database

After updating to the latest SVN-Revision, the source code and Database might be unequal. Therefore you have to also update the database with the web-update procedure.

So, you should always go to http://your-idoit-host/i-doit-path/updates and execute the suggested update process even if the updater says you've got the latest version.

Clean your temp directories

rm -R /var/www/i-doit/temp/*
rm -R /var/www/i-doit/src/themes/default/smarty/templates_c/*
rm -R /var/www/i-doit/src/themes/redbox/smarty/templates_c/*

Thats it. Your i-doit is up to date.

Personal tools