31,028
edits
| Line 27: | Line 27: | ||
HEAD means we want last version of files (so last development files). | HEAD means we want last version of files (so last development files). | ||
The command to update files that was caught with previous CVS command: | |||
'' | ''With linux (script shell): | ||
CVSROOT=:pserver:anonymous@cvs.savannah.nongnu.org:/cvsroot/dolibarr | CVSROOT=:pserver:anonymous@cvs.savannah.nongnu.org:/cvsroot/dolibarr | ||
export CVSROOT | export CVSROOT | ||
cvs -q update -P -d | cvs -q update -P -d | ||
With Windows and Tortoise cvs | |||
"C:\Program Files\CVSNT\cvs.exe" -q update -P -d | "C:\Program Files\CVSNT\cvs.exe" -q update -P -d | ||
CVSROOT=:pserver:anonymous@cvs.savannah.nongnu.org:/cvsroot/dolibarr'' | CVSROOT=:pserver:anonymous@cvs.savannah.nongnu.org:/cvsroot/dolibarr'' | ||
And to set back all your working directory with same files than on CVS server repository (canceling your local changes): | |||
''With linux (script shell): | |||
CVSROOT=:pserver:anonymous@cvs.savannah.nongnu.org:/cvsroot/dolibarr | |||
export CVSROOT | |||
cvs -q update -P -C -d | |||
With Windows and Tortoise cvs | |||
"C:\Program Files\CVSNT\cvs.exe" -q update -P -C -d | "C:\Program Files\CVSNT\cvs.exe" -q update -P -C -d | ||
CVSROOT=:pserver:anonymous@cvs.savannah.nongnu.org:/sources/dolibarr | CVSROOT=:pserver:anonymous@cvs.savannah.nongnu.org:/sources/dolibarr | ||
May be, you will have to change permissions on directories or files after to make then readable by users of your Dolibarr web server. | |||
''' | '''Get files for a CVS branch''' | ||
If you want to work on a particular version (with its patches), you must follow same process but you must replace HEAD by name of the branch. | |||
For example DOLIBARR_2_2_BRANCH for branch 2.2 or DOLIBARR_2_4_BRANCH for branch 2.4. | |||
''' | '''Restore your configuration''' | ||
Restore configuration file (./htdocs/conf/conf.php) with backup made previously if file has been erased/removed. | |||
''' | '''Update database''' | ||
Next step is ti upgrade your database. For this, all you have to do is call page | |||
http:// | http://myrootdolibarr/install/ | ||
and choose option "Update". | |||
This process was built to work whatever is start step and can be run and rerun several times with no risks. | |||
''' | '''Other repository''' | ||
A CVS repository for non officials modules is also available on Sourceforge: | |||
:ext:youlogin@dolibarr.cvs.sourceforge.net:/cvsroot/dolibarr | :ext:youlogin@dolibarr.cvs.sourceforge.net:/cvsroot/dolibarr | ||