- antlr4 -- must be a command line alias
> alias antlr4='java -jar /usr/local/lib/antlr-4.5.1-complete.jar'
- python3 -- version 3.5 or later
- postgresql -- the path to pg_config executable must be available
- git
- Clone this directory
> git clone http://github.com/caCDE-QA/USC-source-code
- Make a virtual environment for python
> virtualenv <path>/env > ./<path/env/bin/activate (env) >
- Install dependent packages
(env) > cd USC-source-code (env) > pip install -r requirements.txt
- Generate the parser
(env) > cd hqmf2sql (env) > . make_parser.sh
- Run the test code
(env) > ./hqmf2sqlv2.sh test data/phema-bph-use-case.xml