Coder Social home page Coder Social logo

martin-grunewald / hlt-confdb Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cms-sw/hlt-confdb

0.0 0.0 0.0 61.7 MB

Java 56.65% HTML 0.77% CSS 5.29% JavaScript 7.01% Python 23.65% Perl 0.44% Shell 0.11% PLSQL 1.95% SQLPL 0.75% PLpgSQL 0.02% Roff 0.01% TSQL 3.35%

hlt-confdb's Introduction

----------------
startGUI script:
----------------

You shouldn't have to start the GUI by checkking out the package and
invoking the startGUI script! You can start the GUI by pointing your
browser to the following address:

http://www.cern.ch/confdb/gui/start.jnlp


To invoke the startGUI script you need 'java' and 'classic-ant' in
your path. Then:

cvs co [-r VXX-YY-ZZ] -d . EventFilter/ConfigDB
cd ConfigDB
./startGUI


---------
 parser:
---------

assuming:
eval `scramv1 runtime -[c]sh`

with MySQL:
***********
python ConfdbSourceToDB.py -r CMSSW_X_Y_Z [-p /path/to/CMSSW_X_Y_Z] -d hltdb -u <username> -s <pwd> -o machine.cern.ch -t MySQL

with Oracle [dev@IT]:
*********************
python ConfdbSourceToDB.py -r CMSSW_X_Y_Z [-p /path/to/CMSSW_X_Y_Z] -u cms_hlt -s <pwd> -o cms_orcoff_int2r -t Oracle


with Oracle XE [LOCAL]:
***********************
- setup your local XE installation:
source /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/oracle_env.[c]sh

- setenv TNS_ADMIN $ORACLE_HOME/network/admin

python ConfdbSourceToDB.py -r CMSSW_X_Y_Z [-p /path/to/CMSSW_X_Y_Z] -u <username> -s <pwd> -o XE -t Oracle


------------------------
Deployment to Web Server
------------------------

(1) http://webservices.cern.ch/

    -> Manage my web sites

(2) login using your user name / passwd

    -> http://cern.ch/cms-project-confdb-hltdev

    -> Deploy application

    -> browse : select war to upload
    -> Upload file


----------------------
Producing problems.txt
----------------------

-> edmConfigToPython < RelVal_HLTFromRaw.cfg >  RelVal_HLTFromRaw.py

-> java -cp ext/ojdbc6.jar:lib/cmssw-evf-confdb-gui.jar confdb.parser.PythonParser -t oracle -h int2r1-v.cern.ch -p 10121 -n int2r_lb.cern.ch -u cms_hlt -s ************** -r CMSSW_2_0_0_pre2 -c RelVal_HLTFromRaw.py

----------------------
Note for developers:
----------------------
- JNLP (Java launching mechanism): To download automatically .jar libraries from the server it is needed set the rules in start.jnlp script.
- Tag V01-06-21: Includes a set of .jar libraries needed for the Python parser feature.
- Tag V01-06-23: Modifies the launching script to include them in the library download.
	<jar href="jython-2.5.2.jar" download="eager"/>
	<jar href="antlr-runtime-3.1.3.jar" download="eager"/>
	<jar href="asm-3.1.jar" download="eager"/>
	<jar href="asm-commons-3.1.jar" download="eager"/>
	<jar href="asm-util-3.1.jar" download="eager"/>
	<jar href="constantine-0.4.jar" download="eager"/>
	<jar href="jna.jar" download="eager"/>
	<jar href="jna-posix.jar" download="eager"/>
- See /browser/WebContent/gui/start.jnlp

- startGUI: You will also need to specify them in the classpath if you run the Confdb-gui locally.

EXTRA FOLDERS:
- The /Python/FWCore folder has been added in the version (Tag V01-06-21) to satisfy dependences for the python interpreter while parsing python configurations.
- In order to have this folder available in the classpath when the app. is downloaded from the server, it needs to be included in cmssw-evf-confdb-gui.jar 
- To do that the build.xml file must specify the inclusion of this folder in the relevant compilation.
- See build.xml 

hlt-confdb's People

Contributors

bsataric avatar fwyzard avatar martin-grunewald avatar mdritchie avatar sandrov avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.