Difference between revisions of "OpenEMR CVS installation"

From OpenEMR Project Wiki
(Created page with '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 ot…')
 
m (1 revision: OpenEMR_CVS_installation)
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:


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.
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):   
Backup following files first (in the event that new versions overwrite yours):   
Line 7: Line 8:
includes/config.php
includes/config.php
interface/globals.php
interface/globals.php


Commands
Commands
Line 13: Line 15:
   
   
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/openemr co -P openemr
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:
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:
Line 18: Line 21:
cp openemr /var/www/html/ -r -v -u
cp openemr /var/www/html/ -r -v -u
This will update the installation with newer files only.
This will update the installation with newer files only.


(NOTE THAT FREEB IS NOW OBSOLETE)
(NOTE THAT FREEB IS NOW OBSOLETE)

Latest revision as of 06:08, 24 April 2012

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