Skip to content

Latest commit

 

History

History
35 lines (33 loc) · 925 Bytes

File metadata and controls

35 lines (33 loc) · 925 Bytes

USC-source-code

Requriements

  • 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

Installing

  1. Clone this directory
    > git clone http://github.com/caCDE-QA/USC-source-code
  2. Make a virtual environment for python
    > virtualenv <path>/env
    > ./<path/env/bin/activate
    (env) >
  3. Install dependent packages
    (env) > cd USC-source-code
    (env) > pip install -r requirements.txt
  4. Generate the parser
    (env) > cd hqmf2sql
    (env) > . make_parser.sh
  5. Run the test code
    (env) > ./hqmf2sqlv2.sh test data/phema-bph-use-case.xml