OpenEMR CVS installation

From OpenEMR Project Wiki

CVSHowTo

CVS stands for concurrent versioning system. It is a common means of several programmers working together on the same project without unintetionally stepping on each others toes. You will need to have CVS installed on your system before this will work.


Backup following files first (in the event that new versions overwrite yours): library/sqlconf.php includes/config.php interface/globals.php


Commands

cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/openemr login

cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/openemr co -P openemr


I usually execute these commands as my normal user and then use the administrative user (root) to move OpenEMR into the webserver path. On linux using my default webserver path as the root user:

cp openemr /var/www/html/ -r -v -u This will update the installation with newer files only.


(NOTE THAT FREEB IS NOW OBSOLETE)

You can then get a copy of FreeB the same way. If you have already executed the anonymous login the command would be:

cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/openemr co -P freeb

Freeb as a separate server and is usually installed in /usr/share:

cp freeb /usr/share/ -r -v -u