HOWTO build the CCDB
From GlueXWiki
Revision as of 13:00, 11 January 2013 by Marki (Talk | contribs) (Created page with "1. Checkout a helper makefile: svn checkout https://halldsvn.jlab.org/repos/trunk/scripts/build_scripts 2. Do the make: make -f build_scripts/Makefile_ccdb CCDB_VERSION=0.06...")
1. Checkout a helper makefile:
svn checkout https://halldsvn.jlab.org/repos/trunk/scripts/build_scripts
2. Do the make:
make -f build_scripts/Makefile_ccdb CCDB_VERSION=0.06
3. Set-up your environment
setenv CCDB_HOME `pwd`/ccdb_0.06 source $CCDB_HOME/environment.csh setenv CCDB_CONNECTION mysql://ccdb_user@hallddb/ccdb
or
export CCDB_HOME=`pwd`/ccdb_0.06 . $CCDB_HOME/environment.sh export CCDB_CONNECTION=mysql://ccdb_user@hallddb/ccdb
4. Launch the CCDB shell
ccdb -i