31,028
edits
| Line 8: | Line 8: | ||
If you have already a working installation, backup your file '''htdocs/conf/conf.php''' and your documents directory. It more secure if you make a mistake later. | If you have already a working installation, backup your file '''htdocs/conf/conf.php''' and your documents directory. It more secure if you make a mistake later. | ||
''' | '''Get last version of sources by download''' | ||
This method allows you to get CVS version of main development branch (called HEAD). This operation consist to get last version of Dolibarr files that are packaged each night into a zip file. | This method allows you to get CVS version of main development branch (called HEAD). This operation consist to get last version of Dolibarr files that are packaged each night into a zip file. | ||
| Line 15: | Line 15: | ||
New files will overwrite old ones. | New files will overwrite old ones. | ||
''' | '''Get last version of sources using CVS''' | ||
Another way to get last CVS version is to go use CVS tools. You can use the [http://savannah.nongnu.org/cvs/?group=dolibarr CVS server in anonymous mode], if you have a CVS client (CVS command line tool with Linux, or TortoiseCVS for example with Windows). | |||
The command to get a full snapshot (with no CVS hidden files) in working directory is: | |||
'' | '' | ||
CVSROOT=:pserver:anonymous@cvs.savannah.nongnu.org:/ | CVSROOT=:pserver:anonymous@cvs.savannah.nongnu.org:/cvsroot/dolibarr | ||
export CVSROOT | export CVSROOT | ||
cvs -q checkout -r HEAD dolibarr | cvs -q checkout -r HEAD dolibarr | ||
'' | '' | ||
HEAD | HEAD means we want last version of files (so last development files). | ||
La commande permettant de mettre à jour localement une copie de travail CVS qui a déjà été rapatriée: | La commande permettant de mettre à jour localement une copie de travail CVS qui a déjà été rapatriée: | ||
''Sous linux (script shell): | ''Sous linux (script shell): | ||
CVSROOT=:pserver:anonymous@cvs.savannah.nongnu.org:/ | CVSROOT=:pserver:anonymous@cvs.savannah.nongnu.org:/cvsroot/dolibarr | ||
export CVSROOT | export CVSROOT | ||
cvs -q update -P -d | cvs -q update -P -d | ||
Sous Windows avec Tortoise cvs | Sous Windows avec 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=:pserver:anonymous@cvs.savannah.nongnu.org:/cvsroot/dolibarr'' | ||
Et pour remettre au propre votre copie locale en annulant vos modifications locales sur les fichiers: | Et pour remettre au propre votre copie locale en annulant vos modifications locales sur les fichiers: | ||
"C:\Program Files\CVSNT\cvs.exe" -q update -P -C -d | "C:\Program Files\CVSNT\cvs.exe" -q update -P -C -d | ||